Structures to write the ModelFile defined through this API. More...
Data Structures | |
struct | A3DChainedBuffer |
A structure that contains chained buffers. It is used to by: A3DAsmModelFileExportToParasolidBuffer A3DRepresentationItemExportToParasolidBuffer A3DAsmModelFileExportToAcisBuffer A3DRepresentationItemExportToAcisBuffer A3DChainedBufferFree This structure can be used directly when loading a file from a buffer in Parasolid. More... | |
struct | A3DFileContextData |
A structure that specifies the file contexts It is used to by: A3DAsmGetFilesContextsFromModelFile . More... | |
struct | A3DRWParamsExport3mfData |
A structure that specifies parameters used to write the model file to 3MF format. More... | |
struct | A3DRWParamsExportAcisData |
A structure that specifies parameters used to write the model file to ACIS format. More... | |
struct | A3DRWParamsExportIgesData |
A structure that specifies parameters used to write the model file to IGES format. More... | |
struct | A3DRWParamsExportJTData |
A structure that specifies parameters used to write the model file to JT format. More... | |
struct | A3DRWParamsExportParasolidData |
A structure that specifies parameters used to write the model file to Parasolid format. More... | |
struct | A3DRWParamsExportPrcData |
A structure that specifies parameters used to write the model file to PRC format. More... | |
struct | A3DRWParamsExportStepData |
A structure that specifies parameters used to write the model file to a STEP format. More... | |
struct | A3DRWParamsExportStlData |
A structure that specifies parameters used to write the model file to STL format. More... | |
struct | A3DRWParamsExportU3DData |
A structure that specifies parameters used to write the model file to U3D format. More... | |
struct | A3DRWParamsExportXMLData |
A structure that specifies parameters used to write the model file to XML format. More... | |
struct | A3DRWParamsTranslateToPkPartsData |
A structure that specifies parameters used to translate the model file or a representation item into an open Parasolid session. More... | |
Typedefs | |
typedef struct A3DChainedBuffer | A3DChainedBuffer |
A structure that contains chained buffers. It is used to by: A3DAsmModelFileExportToParasolidBuffer A3DRepresentationItemExportToParasolidBuffer A3DAsmModelFileExportToAcisBuffer A3DRepresentationItemExportToAcisBuffer A3DChainedBufferFree This structure can be used directly when loading a file from a buffer in Parasolid. More... | |
Functions | |
A3DStatus | A3DAsmGetFilesContextsFromModelFile (const A3DAsmModelFile *pA3DAsmModelFile, A3DUns32 *uNbFilesContexts, A3DFileContextData ***ppFilesContexts) |
Extract all the files contexts (RefSet, Configs...) from a model file. More... | |
A3DStatus | A3DAsmGetFilesPathFromModelFile (const A3DAsmModelFile *pA3DAsmModelFile, A3DUns32 *uNbPartFiles, A3DUTF8Char ***ppPartFilesPaths, A3DUns32 *uNbAssemblyFiles, A3DUTF8Char ***ppAssemblyFilesPaths, A3DUns32 *uNbMissingFiles, A3DUTF8Char ***ppMissingFilesPaths) |
Extract file paths from a model file. More... | |
A3DStatus | A3DAsmModelFileExportTo3mfFile (const A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExport3mfData *pParamsExportData, const A3DUTF8Char *pcCADFileName) |
Writes a model file to a physical file in 3MF format. More... | |
A3DStatus | A3DAsmModelFileExportToAcisBuffer (const A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExportAcisData *pParamsExportData, A3DChainedBuffer **pBuffer) |
Writes a model file to a buffer in binary ACIS format. More... | |
A3DStatus | A3DAsmModelFileExportToAcisFile (const A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExportAcisData *pParamsExportData, const A3DUTF8Char *pcCADFileName) |
Writes a model file to a physical file in ACIS format. More... | |
A3DStatus | A3DAsmModelFileExportToIgesFile (const A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExportIgesData *pParamsExportData, const A3DUTF8Char *pcCADFileName) |
Writes a model file to a physical file in IGES format. More... | |
A3DStatus | A3DAsmModelFileExportToJTFile (const A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExportJTData *pParamsExportData, const A3DUTF8Char *pcCADFileName) |
Writes a model file to a physical file in JT format. More... | |
A3DStatus | A3DAsmModelFileExportToParasolidBuffer (const A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExportParasolidData *pParamsExportData, A3DChainedBuffer **pBuffer) |
Writes a model file to a buffer in Parasolid format. More... | |
A3DStatus | A3DAsmModelFileExportToParasolidFile (const A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExportParasolidData *pParamsExportData, const A3DUTF8Char *pcCADFileName) |
Writes a model file to a physical file in Parasolid format. More... | |
A3DStatus | A3DAsmModelFileExportToParasolidFileWithMapper (const A3DAsmModelFile *pA3DAsmModelFile, A3DMiscPKMapper *pMapper, const A3DRWParamsExportParasolidData *pParamsExportData, const A3DUTF8Char *pcCADFileName) |
Writes a model file to a physical file in Parasolid format . More... | |
A3DStatus | A3DAsmModelFileExportToPrcFile (const A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExportPrcData *pParamsExportData, const A3DUTF8Char *pcCADFileName, A3DRWParamsPrcWriteHelper **ppPrcWriteHelper) |
Writes a model file to a physical file in a PRC format. More... | |
A3DStatus | A3DAsmModelFileExportToPrcStream (const A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExportPrcData *pParamsExportData, A3DUTF8Char *&pcStream, unsigned int &uLength, A3DRWParamsPrcWriteHelper **ppPrcWriteHelper) |
Writes a model file to a stream buffer in a PRC format. More... | |
A3DStatus | A3DAsmModelFileExportToStepFile (const A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExportStepData *pParamsExportData, const A3DUTF8Char *pcCADFileName) |
Writes a model file to a physical file in STEP format. More... | |
A3DStatus | A3DAsmModelFileExportToStlFile (const A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExportStlData *pParamsExportData, const A3DUTF8Char *pcCADFileName) |
Writes a model file to a physical file in STL format. More... | |
A3DStatus | A3DAsmModelFileExportToU3DFile (const A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExportU3DData *pParamsExportData, const A3DUTF8Char *pcCADFileName) |
Writes a model file to a physical file in Universal 3D format. More... | |
A3DStatus | A3DAsmModelFileExportToVrmlFile (const A3DAsmModelFile *pA3DAsmModelFile, const A3DUTF8Char *pcCADFileName) |
Writes a model file to a physical file in VRML format. More... | |
A3DStatus | A3DAsmModelFileExportToXMLFile (const A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExportXMLData *pParamsExportData, const A3DUTF8Char *pcXMLFileName, unsigned int *uMapSize, unsigned int **puMapXmlIds, A3DEntity ***ppMapProductOccurrences) |
Writes a model file to a physical file in XML format. More... | |
A3DStatus | A3DAsmModelFileLoadFromMultiplePrcFile (const A3DUTF8Char *pcFileName, const A3DUns32 uNbPart, const A3DUTF8Char **ppCADFilePath, const A3DUTF8Char **ppPRCFilePath, const A3DRWParamsLoadData *pParamsLoadData, A3DAsmModelFile **pA3DAsmModelFile) |
Creates a model file from multiple PRC files + an PRC assembly file + a map for file names. More... | |
A3DStatus | A3DAsmModelFileLoadFromPRCFiles (const A3DUTF8Char *pcRootPrcFilePath, const A3DUns32 uNbFile, const A3DUTF8Char **ppPRCFilePath, const A3DUTF8Char **ppCADFilePath, const A3DRWParamsLoadData *pParamsLoadData, A3DAsmModelFile **pA3DAsmModelFile) |
Creates a model file from multiple PRC files + a PRC assembly file + a map for file names. More... | |
A3DStatus | A3DAsmModelFileTranslateToPkParts (const A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExportParasolidData *pParamsExportData, const A3DRWParamsTranslateToPkPartsData *pParamsTranslateToPkPartsData, int *pNbPkParts, int **pPkParts) |
Writes a model file to parts in the current Parasolid session. More... | |
A3DStatus | A3DChainedBufferFree (A3DChainedBuffer *pBuffer) |
This function is used to free memory allocated by following functions: A3DAsmModelFileExportToParasolidBuffer A3DRepresentationItemExportToParasolidBuffer A3DAsmModelFileExportToAcisBuffer A3DRepresentationItemExportToAcisBuffer A3DChainedBufferFree . More... | |
A3DStatus | A3DFileContextDelete (A3DFileContextData *pData) |
This function is used to free memory allocated by following functions: A3DAsmGetFilesContextsFromModelFile . More... | |
A3DStatus | A3DHealPkParts (int *pNbPkParts, int **pPkParts, const A3DRWParamsTranslateToPkPartsData *pParamsTranslateToPkPartsData) |
Heal parts in the current Parasolid session. More... | |
A3DStatus | A3DMiscPKMapperGetA3DEntitiesFromPKEntity (const A3DMiscPKMapper *pMapper, int pPKEntity, int *piNbA3DEntities, A3DEntity ***ppA3DEntities) |
Get HOOPS Exchange entities from Parasolid entity. More... | |
A3DStatus | A3DMiscPKMapperGetPKEntitiesFromA3DEntity (const A3DMiscPKMapper *pMapper, const A3DEntity *pA3DEntity, int *piNbPKEntities, int **ppPKEntities) |
Get Parasolid entities from HOOPS Exchange entity. More... | |
A3DStatus | A3DPkPartsTranslateToA3DAsmModelFile (int pNbPkParts, int *pPkParts, A3DRWParamsLoadData *pLoadParam, A3DAsmModelFile **ppA3DAsmModelFile, A3DMiscPKMapper **pMapper) |
Translate Parasolid Parts from parasolid session into an A3DModelFile with a mapper. More... | |
A3DStatus | A3DRepresentationItemExportToAcisBuffer (const A3DRiRepresentationItem *pRepItem, A3DChainedBuffer **pBuffer, double dScale) |
Writes a representation item to a buffer in binary ACIS format. More... | |
A3DStatus | A3DRepresentationItemExportToParasolidBuffer (const A3DRiRepresentationItem *pRepItem, A3DChainedBuffer **pBuffer, double dUnit) |
Writes a representation item to a buffer in Parasolid format. More... | |
A3DStatus | A3DRepresentationItemExportToParasolidFile (const A3DRiRepresentationItem *pRepItem, const A3DUTF8Char *pcTempFileName, A3DDouble dUnit) |
Writes a representation item to a file in Parasolid format. More... | |
A3DStatus | A3DRepresentationItemsTranslateToPkPartsMultiProcess (A3DUns32 uiNbProc, A3DRWParamsTranslateToPkPartsData const *pParamsTranslateToPkPartsData, A3DUns32 uiNbRepItem, A3DRiRepresentationItem const **pRepItem, A3DDouble const *padUnit, int **pNbPkParts, int ***pPkParts) |
Writes a representation item to parts in the current Parasolid session in multi-process context. More... | |
A3DStatus | A3DRepresentationItemTranslateToPkParts (const A3DRiRepresentationItem *pRepItem, const A3DRWParamsTranslateToPkPartsData *pParamsTranslateToPkPartsData, double dUnit, int *pNbPkParts, int **pPkParts) |
Writes a representation item to parts in the current Parasolid session. More... | |
A3DVoid | A3DRWParamsPrcWriteHelperFree (A3DRWParamsPrcWriteHelper *pA3DRWParamsPrcWriteHelper) |
Free PRC write helper. More... | |
Detailed Description
Structures to write the ModelFile defined through this API.
Please refer to HOOPS Exchange Supported File Formats documentation for list of available formats.
Typedef Documentation
typedef struct A3DChainedBuffer A3DChainedBuffer |
A structure that contains chained buffers. It is used to by: A3DAsmModelFileExportToParasolidBuffer
A3DRepresentationItemExportToParasolidBuffer
A3DAsmModelFileExportToAcisBuffer
A3DRepresentationItemExportToAcisBuffer
A3DChainedBufferFree
This structure can be used directly when loading a file from a buffer in Parasolid.
- Version
- 4.0
Enumeration Type Documentation
enum A3DECompressBrepType |
Level of compression used to write the model file to PRC format.
This sets the amount, in millimeters, of lossy compression that is applied to geometry. For best results when exporting geometry, use kA3DCompressionLow.
- Version
- 3.0
enum A3DEJTVersion |
enum A3DEStepFormat |
Control mode of the accurate edge computation in TranslateToPkParts functions. Used in A3DRWParamsTranslateToPkPartsData.
- Version
- 8.1
Enumerator | |
---|---|
kA3DE_ACCURATE_NO |
Disable accurate edge computation. |
kA3DE_ACCURATE_YES |
Enable accurate edge computation. |
kA3DE_ACCURATE_ONLY_IF_NOT_PARASOLID |
Enable accurate edge computation only for data coming from neither Parasolid nor from any format that embeds Parasolid data (NX, SolidWorks, Solid Edge and JT) but only if the A3DRWParamsParasolidData::m_bKeepParsedEntities reading option is enabled. |
Control mode of the healing in TranslateToPkParts functions. Used in A3DRWParamsTranslateToPkPartsData.
- Version
- 8.1
Enumerator | |
---|---|
kA3DE_HEALING_NO |
Disable healing. |
kA3DE_HEALING_YES |
Enable healing. |
kA3DE_HEALING_ONLY_IF_NOT_PARASOLID |
Enable healing only for data coming from neither Parasolid nor from any format that embeds Parasolid data (NX, SolidWorks, Solid Edge and JT) but only if the A3DRWParamsParasolidData::m_bKeepParsedEntities reading option is enabled. |
Control mode of the accurate edge computation in TranslateToPkParts functions. Used in A3DRWParamsTranslateToPkPartsData.
- Version
- 8.1
Enumerator | |
---|---|
kA3DE_MERGE_NO |
Disable accurate edge computation. |
kA3DE_MERGE_YES |
Enable accurate edge computation. |
kA3DE_MERGE_ONLY_IF_NOT_PARASOLID |
Enable accurate edge computation only for data coming from neither Parasolid nor from any format that embeds Parasolid data (NX, SolidWorks, Solid Edge and JT) but only if the A3DRWParamsParasolidData::m_bKeepParsedEntities reading option is enabled. |
Control mode of the healing in TranslateToPkParts functions. Used in A3DRWParamsTranslateToPkPartsData.
- Version
- 8.1
Enumerator | |
---|---|
kA3DE_SIMPLIFY_NO |
Disable healing. |
kA3DE_SIMPLIFY_YES |
Enable healing. |
kA3DE_SIMPLIFY_ONLY_IF_NOT_PARASOLID |
Enable healing only for data coming from neither Parasolid nor from any format that embeds Parasolid data (NX, SolidWorks, Solid Edge and JT) but only if the A3DRWParamsParasolidData::m_bKeepParsedEntities reading option is enabled. |
enum A3DEU3DVersion |
Function Documentation
A3DStatus A3DAsmGetFilesContextsFromModelFile | ( | const A3DAsmModelFile * | pA3DAsmModelFile, |
A3DUns32 * | uNbFilesContexts, | ||
A3DFileContextData *** | ppFilesContexts | ||
) |
Extract all the files contexts (RefSet, Configs...) from a model file.
- Parameters
-
[in] pA3DAsmModelFile The input model file. Can be "tree only" A3DAsmModelFile. [out] uNbFilesContexts The number of files contexts detected. (must not be NULL) [out] ppFilesContexts The file contexts. (must not be NULL)
- Version
- 8.1
A3DStatus A3DAsmGetFilesPathFromModelFile | ( | const A3DAsmModelFile * | pA3DAsmModelFile, |
A3DUns32 * | uNbPartFiles, | ||
A3DUTF8Char *** | ppPartFilesPaths, | ||
A3DUns32 * | uNbAssemblyFiles, | ||
A3DUTF8Char *** | ppAssemblyFilesPaths, | ||
A3DUns32 * | uNbMissingFiles, | ||
A3DUTF8Char *** | ppMissingFilesPaths | ||
) |
Extract file paths from a model file.
This function reads the A3DAsmModelFile extracts the file path of all the sub-assemblies, part and missing files of the A3DAsmModelFile.
Sub-assemblies are files referencing other files (part files or other sub-assemblies files).
Part files are final files with no reference to an other depending file.
If a file has reference on both types of file, the file will be considered as a sub-assembly file and will not be referenced in the part file path array.
Missing files path are sub-files that cannot be loaded for some reasons: bad paths, file not found...
If pA3DAsmModelFile is NULL, the two A3DUTF8Char arrays will be freed if the corresponding unsigned int parameters are non-null: A3DAsmGetFilesPathFromModelFile(NULL, [...]) to delete the two arrays.
- Parameters
-
[in] pA3DAsmModelFile The input model file. Can be "tree only" A3DAsmModelFile. [out] uNbPartFiles The number of parts detected. (must not be NULL) [out] ppPartFilesPaths The file names of detected parts. (must not be NULL) [out] uNbAssemblyFiles The number of sub-assemblies detected. (can be NULL) [out] ppAssemblyFilesPaths The file names of detected sub-assemblies. (can be NULL) [out] uNbMissingFiles The number of missing files. (can be NULL) [out] ppMissingFilesPaths The file names of detected missing files. (can be NULL)
- Version
- 5.0
A3DStatus A3DAsmModelFileExportTo3mfFile | ( | const A3DAsmModelFile * | pA3DAsmModelFile, |
const A3DRWParamsExport3mfData * | pParamsExportData, | ||
const A3DUTF8Char * | pcCADFileName | ||
) |
Writes a model file to a physical file in 3MF format.
This function writes the A3DAsmModelFile entity to a physical file.
- Parameters
-
[in] pA3DAsmModelFile References the A3DAsmModelFile to be written out. [in] pParamsExportData References the parameters for export. [in] pcCADFileName References the path of the file into which the function stores the model file.
- Returns
- A3D_INITIALIZE_NOT_CALLED
-
A3D_INVALID_ENTITY_NULL
-
A3D_INVALID_ENTITY_TYPE
-
A3D_INVALID_DATA_STRUCT_NULL
-
A3D_INVALID_DATA_STRUCT_SIZE
-
A3D_WRITE_INVALID_FILE_NAME
-
A3D_WRITE_ERROR
-
A3D_WRITE_CANNOT_LOAD_WRITER
-
A3D_SUCCESS
- Version
- 10.0
A3DStatus A3DAsmModelFileExportToAcisBuffer | ( | const A3DAsmModelFile * | pA3DAsmModelFile, |
const A3DRWParamsExportAcisData * | pParamsExportData, | ||
A3DChainedBuffer ** | pBuffer | ||
) |
Writes a model file to a buffer in binary ACIS format.
This function writes the A3DAsmModelFile entity to a buffer.
- Parameters
-
[in] pA3DAsmModelFile References the A3DAsmModelFile to be written out. [in] pParamsExportData References the parameters for export. [out] pBuffer Buffer.
- Returns
- A3D_INVALID_LICENSE
-
A3D_INITIALIZE_NOT_CALLED
-
A3D_INVALID_ENTITY_NULL
-
A3D_INVALID_ENTITY_TYPE
-
A3D_INVALID_DATA_STRUCT_NULL
-
A3D_INVALID_DATA_STRUCT_SIZE
-
A3D_WRITE_INVALID_FILE_NAME
-
A3D_WRITE_ERROR
-
A3D_WRITE_CANNOT_LOAD_WRITER
-
A3D_SUCCESS
- Version
- 5.0
A3DStatus A3DAsmModelFileExportToAcisFile | ( | const A3DAsmModelFile * | pA3DAsmModelFile, |
const A3DRWParamsExportAcisData * | pParamsExportData, | ||
const A3DUTF8Char * | pcCADFileName | ||
) |
Writes a model file to a physical file in ACIS format.
This function writes the A3DAsmModelFile entity to a physical file.
- Parameters
-
[in] pA3DAsmModelFile References the A3DAsmModelFile to be written out. [in] pParamsExportData References the parameters for export. [in] pcCADFileName References the path of the file into which the function stores the model file.
- Returns
- A3D_INVALID_LICENSE
-
A3D_INITIALIZE_NOT_CALLED
-
A3D_INVALID_ENTITY_NULL
-
A3D_INVALID_ENTITY_TYPE
-
A3D_INVALID_DATA_STRUCT_NULL
-
A3D_INVALID_DATA_STRUCT_SIZE
-
A3D_WRITE_INVALID_FILE_NAME
-
A3D_WRITE_ERROR
-
A3D_WRITE_CANNOT_LOAD_WRITER
-
A3D_SUCCESS
- Version
- 5.0
A3DStatus A3DAsmModelFileExportToIgesFile | ( | const A3DAsmModelFile * | pA3DAsmModelFile, |
const A3DRWParamsExportIgesData * | pParamsExportData, | ||
const A3DUTF8Char * | pcCADFileName | ||
) |
Writes a model file to a physical file in IGES format.
This function writes the A3DAsmModelFile entity to a physical file.
- Parameters
-
[in] pA3DAsmModelFile References the A3DAsmModelFile to be written out. [in] pParamsExportData References the parameters for export. [in] pcCADFileName References the path of the file into which the function stores the model file.
- Returns
- A3D_INITIALIZE_NOT_CALLED
-
A3D_INVALID_ENTITY_NULL
-
A3D_INVALID_ENTITY_TYPE
-
A3D_INVALID_DATA_STRUCT_NULL
-
A3D_INVALID_DATA_STRUCT_SIZE
-
A3D_WRITE_INVALID_FILE_NAME
-
A3D_WRITE_ERROR
-
A3D_WRITE_CANNOT_LOAD_WRITER
-
A3D_SUCCESS
- Version
- 3.0
A3DStatus A3DAsmModelFileExportToJTFile | ( | const A3DAsmModelFile * | pA3DAsmModelFile, |
const A3DRWParamsExportJTData * | pParamsExportData, | ||
const A3DUTF8Char * | pcCADFileName | ||
) |
Writes a model file to a physical file in JT format.
This function writes the A3DAsmModelFile entity to a physical file.
- Parameters
-
[in] pA3DAsmModelFile References the A3DAsmModelFile to be written out. [in] pParamsExportData References the parameters for export. [in] pcCADFileName References the path of the file into which the function stores the model file.
- Returns
- A3D_SUCCESS
- Version
- 6.0
A3DStatus A3DAsmModelFileExportToParasolidBuffer | ( | const A3DAsmModelFile * | pA3DAsmModelFile, |
const A3DRWParamsExportParasolidData * | pParamsExportData, | ||
A3DChainedBuffer ** | pBuffer | ||
) |
Writes a model file to a buffer in Parasolid format.
This function writes the A3DAsmModelFile entity to a buffer.
- Parameters
-
[in] pA3DAsmModelFile References the A3DAsmModelFile to be written out. [in] pParamsExportData References the parameters for export. [out] pBuffer References the chained buffer to be filled.
- Returns
- A3D_INITIALIZE_NOT_CALLED
-
A3D_INVALID_ENTITY_NULL
-
A3D_INVALID_ENTITY_TYPE
-
A3D_INVALID_DATA_STRUCT_NULL
-
A3D_INVALID_DATA_STRUCT_SIZE
-
A3D_WRITE_ERROR
-
A3D_WRITE_CANNOT_LOAD_WRITER
-
A3D_SUCCESS
- Version
- 4.0
A3DStatus A3DAsmModelFileExportToParasolidFile | ( | const A3DAsmModelFile * | pA3DAsmModelFile, |
const A3DRWParamsExportParasolidData * | pParamsExportData, | ||
const A3DUTF8Char * | pcCADFileName | ||
) |
Writes a model file to a physical file in Parasolid format.
This function writes the A3DAsmModelFile entity to a physical file.
- Parameters
-
[in] pA3DAsmModelFile References the A3DAsmModelFile to be written out. [in] pParamsExportData References the parameters for export. [in] pcCADFileName References the path of the file into which the function stores the model file.
- Returns
- A3D_INITIALIZE_NOT_CALLED
-
A3D_INVALID_ENTITY_NULL
-
A3D_INVALID_ENTITY_TYPE
-
A3D_INVALID_DATA_STRUCT_NULL
-
A3D_INVALID_DATA_STRUCT_SIZE
-
A3D_WRITE_INVALID_FILE_NAME
-
A3D_WRITE_ERROR
-
A3D_WRITE_CANNOT_LOAD_WRITER
-
A3D_SUCCESS
- Version
- 3.0
A3DStatus A3DAsmModelFileExportToParasolidFileWithMapper | ( | const A3DAsmModelFile * | pA3DAsmModelFile, |
A3DMiscPKMapper * | pMapper, | ||
const A3DRWParamsExportParasolidData * | pParamsExportData, | ||
const A3DUTF8Char * | pcCADFileName | ||
) |
Writes a model file to a physical file in Parasolid format .
This function writes the A3DAsmModelFile entity to a physical file. This function uses the PK bodies already converted and stored in the pMapper with the A3DAsmModelFile structure in order to export them as a Parasolid file.
- Parameters
-
[in] pA3DAsmModelFile References the A3DAsmModelFile to be written out. [in] pMapper Topology entities mapper [in] pParamsExportData References the parameters for export. [in] pcCADFileName References the path of the file into which the function stores the model file.
- Returns
- A3D_INITIALIZE_NOT_CALLED
-
A3D_INVALID_ENTITY_NULL
-
A3D_INVALID_ENTITY_TYPE
-
A3D_INVALID_DATA_STRUCT_NULL
-
A3D_INVALID_DATA_STRUCT_SIZE
-
A3D_WRITE_INVALID_FILE_NAME
-
A3D_WRITE_ERROR
-
A3D_WRITE_CANNOT_LOAD_WRITER
-
A3D_SUCCESS
- Version
- 10.0
A3DStatus A3DAsmModelFileExportToPrcFile | ( | const A3DAsmModelFile * | pA3DAsmModelFile, |
const A3DRWParamsExportPrcData * | pParamsExportData, | ||
const A3DUTF8Char * | pcCADFileName, | ||
A3DRWParamsPrcWriteHelper ** | ppPrcWriteHelper | ||
) |
Writes a model file to a physical file in a PRC format.
This function writes the A3DAsmModelFile entity to a physical file.
- Parameters
-
[in] pA3DAsmModelFile References the A3DAsmModelFile to be written out. [in] pParamsExportData References the parameters for export. [in] pcCADFileName References the path of the file into which the function stores the model file. [in,out] ppPrcWriteHelper Used to get PRC data such as unique identifiers of PRC nodes.
- Returns
- A3D_INITIALIZE_NOT_CALLED
-
A3D_INVALID_ENTITY_NULL
-
A3D_INVALID_ENTITY_TYPE
-
A3D_INVALID_DATA_STRUCT_NULL
-
A3D_INVALID_DATA_STRUCT_SIZE
-
A3D_WRITE_INVALID_FILE_NAME
-
A3D_WRITE_ERROR
-
A3D_WRITE_CANNOT_LOAD_WRITER
-
A3D_SUCCESS
- Version
- 3.0
A3DStatus A3DAsmModelFileExportToPrcStream | ( | const A3DAsmModelFile * | pA3DAsmModelFile, |
const A3DRWParamsExportPrcData * | pParamsExportData, | ||
A3DUTF8Char *& | pcStream, | ||
unsigned int & | uLength, | ||
A3DRWParamsPrcWriteHelper ** | ppPrcWriteHelper | ||
) |
Writes a model file to a stream buffer in a PRC format.
This function writes the A3DAsmModelFile entity to a PRC stream buffer.
- Parameters
-
[in] pA3DAsmModelFile References the A3DAsmModelFile to be written out. [in] pParamsExportData References the parameters for export. [out] pcStream Buffer containing the PRC content. [out] uLength Length of the pcStreambuffer. [in,out] ppPrcWriteHelper Used to get PRC data such as unique identifiers of PRC nodes.
- Returns
- A3D_INITIALIZE_NOT_CALLED
-
A3D_INVALID_ENTITY_NULL
-
A3D_INVALID_ENTITY_TYPE
-
A3D_INVALID_DATA_STRUCT_NULL
-
A3D_INVALID_DATA_STRUCT_SIZE
-
A3D_WRITE_INVALID_FILE_NAME
-
A3D_WRITE_ERROR
-
A3D_WRITE_CANNOT_LOAD_WRITER
-
A3D_SUCCESS
- Version
- 4.0
A3DStatus A3DAsmModelFileExportToStepFile | ( | const A3DAsmModelFile * | pA3DAsmModelFile, |
const A3DRWParamsExportStepData * | pParamsExportData, | ||
const A3DUTF8Char * | pcCADFileName | ||
) |
Writes a model file to a physical file in STEP format.
This function writes the A3DAsmModelFile entity to a physical file.
- Parameters
-
[in] pA3DAsmModelFile References the A3DAsmModelFile to be written out. [in] pParamsExportData References the parameters for export. [in] pcCADFileName References the path of the file into which the function stores the model file.
- Returns
- A3D_INITIALIZE_NOT_CALLED
-
A3D_INVALID_ENTITY_NULL
-
A3D_INVALID_ENTITY_TYPE
-
A3D_INVALID_DATA_STRUCT_NULL
-
A3D_INVALID_DATA_STRUCT_SIZE
-
A3D_WRITE_INVALID_FILE_NAME
-
A3D_WRITE_ERROR
-
A3D_WRITE_CANNOT_LOAD_WRITER
-
A3D_SUCCESS
- Version
- 3.0
A3DStatus A3DAsmModelFileExportToStlFile | ( | const A3DAsmModelFile * | pA3DAsmModelFile, |
const A3DRWParamsExportStlData * | pParamsExportData, | ||
const A3DUTF8Char * | pcCADFileName | ||
) |
Writes a model file to a physical file in STL format.
This function writes the A3DAsmModelFile entity to a physical file.
- Parameters
-
[in] pA3DAsmModelFile References the A3DAsmModelFile to be written out. [in] pParamsExportData References the parameters for export. [in] pcCADFileName References the path of the file into which the function stores the model file.
- Returns
- A3D_INITIALIZE_NOT_CALLED
-
A3D_INVALID_ENTITY_NULL
-
A3D_INVALID_ENTITY_TYPE
-
A3D_INVALID_DATA_STRUCT_NULL
-
A3D_INVALID_DATA_STRUCT_SIZE
-
A3D_WRITE_INVALID_FILE_NAME
-
A3D_WRITE_ERROR
-
A3D_WRITE_CANNOT_LOAD_WRITER
-
A3D_SUCCESS
- Version
- 3.0
A3DStatus A3DAsmModelFileExportToU3DFile | ( | const A3DAsmModelFile * | pA3DAsmModelFile, |
const A3DRWParamsExportU3DData * | pParamsExportData, | ||
const A3DUTF8Char * | pcCADFileName | ||
) |
Writes a model file to a physical file in Universal 3D format.
This function writes the A3DAsmModelFile entity to a physical file.
- Parameters
-
[in] pA3DAsmModelFile References the A3DAsmModelFile to be written out. [in] pParamsExportData References the parameters for export. [in] pcCADFileName References the path of the file into which the function stores the model file.
- Returns
- A3D_INITIALIZE_NOT_CALLED
-
A3D_INVALID_ENTITY_NULL
-
A3D_INVALID_ENTITY_TYPE
-
A3D_INVALID_DATA_STRUCT_NULL
-
A3D_INVALID_DATA_STRUCT_SIZE
-
A3D_WRITE_INVALID_FILE_NAME
-
A3D_WRITE_ERROR
-
A3D_WRITE_CANNOT_LOAD_WRITER
-
A3D_SUCCESS
- Version
- 4.0
A3DStatus A3DAsmModelFileExportToVrmlFile | ( | const A3DAsmModelFile * | pA3DAsmModelFile, |
const A3DUTF8Char * | pcCADFileName | ||
) |
Writes a model file to a physical file in VRML format.
This function writes the A3DAsmModelFile entity to a physical file.
- Parameters
-
[in] pA3DAsmModelFile References the A3DAsmModelFile to be written out. [in] pcCADFileName References the path of the file into which the function stores the model file.
- Returns
- A3D_INVALID_LICENSE
-
A3D_INITIALIZE_NOT_CALLED
-
A3D_INVALID_ENTITY_NULL
-
A3D_INVALID_ENTITY_TYPE
-
A3D_INVALID_DATA_STRUCT_NULL
-
A3D_INVALID_DATA_STRUCT_SIZE
-
A3D_WRITE_INVALID_FILE_NAME
-
A3D_WRITE_ERROR
-
A3D_WRITE_CANNOT_LOAD_WRITER
-
A3D_SUCCESS
- Version
- 6.0
A3DStatus A3DAsmModelFileExportToXMLFile | ( | const A3DAsmModelFile * | pA3DAsmModelFile, |
const A3DRWParamsExportXMLData * | pParamsExportData, | ||
const A3DUTF8Char * | pcXMLFileName, | ||
unsigned int * | uMapSize, | ||
unsigned int ** | puMapXmlIds, | ||
A3DEntity *** | ppMapProductOccurrences | ||
) |
Writes a model file to a physical file in XML format.
This function writes the A3DAsmModelFile entity to a physical file, and fills two arrays of size uMapSize (puMapXmlId and ppMapProductOccurrences) that will act as a map of the product occurrences and their respective IDs in the XML file.
- Parameters
-
[in] pA3DAsmModelFile References the A3DAsmModelFile to be written out. [in] pParamsExportData References the parameters for export. [in] pcXMLFileName References the path of the file into which the function stores the model file. [out] uMapSize Size of the two following arrays. If set to NULL, the map construction is bypassed. [out] puMapXmlIds Array of the product occurrence IDs in the XML file. If set to NULL, the map construction is bypassed. It has to be freed with the custom free memory callback. [out] ppMapProductOccurrences Array of the product occurrences in the XML file. If set to NULL, the map construction is bypassed. It has to be freed with the custom free memory callback.
- Returns
- A3D_INVALID_LICENSE
-
A3D_INITIALIZE_NOT_CALLED
-
A3D_INVALID_ENTITY_NULL
-
A3D_INVALID_ENTITY_TYPE
-
A3D_INVALID_DATA_STRUCT_NULL
-
A3D_INVALID_DATA_STRUCT_SIZE
-
A3D_WRITE_INVALID_FILE_NAME
-
A3D_WRITE_ERROR
-
A3D_WRITE_CANNOT_LOAD_WRITER
-
A3D_SUCCESS
- Version
- 7.0
A3DStatus A3DAsmModelFileLoadFromMultiplePrcFile | ( | const A3DUTF8Char * | pcFileName, |
const A3DUns32 | uNbPart, | ||
const A3DUTF8Char ** | ppCADFilePath, | ||
const A3DUTF8Char ** | ppPRCFilePath, | ||
const A3DRWParamsLoadData * | pParamsLoadData, | ||
A3DAsmModelFile ** | pA3DAsmModelFile | ||
) |
Creates a model file from multiple PRC files + an PRC assembly file + a map for file names.
This function replugs all the parts from a list from a PRC file loaded with an "assembly tree only" mode.
- Parameters
-
[in] pcFileName The file name of the top assembly file. Conceived for model file loaded as assembly tree only and saved as a PRC file. [in] uNbPart The number of file names to plug. [in] ppCADFilePath The native part file paths. Length must equal uNbPart. [in] ppPRCFilePath The equivalent PRC file paths for parts. Length must equal uNbPart. [in] pParamsLoadData The read/write parameters use the model file. Configurations must be set (default or numEntries = 1). [out] pA3DAsmModelFile The final reassembled model file.
- Returns
- A3D_SUCCESS
- Version
- 5.0
A3DStatus A3DAsmModelFileLoadFromPRCFiles | ( | const A3DUTF8Char * | pcRootPrcFilePath, |
const A3DUns32 | uNbFile, | ||
const A3DUTF8Char ** | ppPRCFilePath, | ||
const A3DUTF8Char ** | ppCADFilePath, | ||
const A3DRWParamsLoadData * | pParamsLoadData, | ||
A3DAsmModelFile ** | pA3DAsmModelFile | ||
) |
Creates a model file from multiple PRC files + a PRC assembly file + a map for file names.
This function inserts all the parts and product occurrences from a file list into a single PRC assembly file loaded in "assembly NO Dependency" mode and outputs a reassembled model file.
- Parameters
-
[in] pcRootPrcFilePath The file name of the top assembly file. This model file is loaded as assembly tree only and saved as a PRC file. [in] uNbFile The number of file names to plug into the assembly. [in] ppPRCFilePath The equivalent PRC file paths for parts. Length must equal uNbFile. [in] ppCADFilePath The native part file paths. Length must equal uNbFile. [in] pParamsLoadData The parameters to use when reading the model files. Configuration must be set to read the default entry or must only specify a single entry to read. [out] pA3DAsmModelFile The final reassembled model file.
- Returns
- A3D_SUCCESS
- Version
- 7.1
A3DStatus A3DAsmModelFileTranslateToPkParts | ( | const A3DAsmModelFile * | pA3DAsmModelFile, |
const A3DRWParamsExportParasolidData * | pParamsExportData, | ||
const A3DRWParamsTranslateToPkPartsData * | pParamsTranslateToPkPartsData, | ||
int * | pNbPkParts, | ||
int ** | pPkParts | ||
) |
Writes a model file to parts in the current Parasolid session.
This function writes the A3DAsmModelFile entity to parts in the current Parasolid session.
- Parameters
-
[in] pA3DAsmModelFile References the A3DAsmModelFile to be written out. [in] pParamsExportData References the parameters for export. [in] pParamsTranslateToPkPartsData References the parameters to export in the Parasolid session.
- Version
- 8.1
- Parameters
-
[out] pNbPkParts References the number of resulting parts. [out] pPkParts References the array of resulting parts.
- Returns
- A3D_INITIALIZE_NOT_CALLED
-
A3D_INVALID_ENTITY_NULL
-
A3D_INVALID_ENTITY_TYPE
-
A3D_INVALID_DATA_STRUCT_NULL
-
A3D_INVALID_DATA_STRUCT_SIZE
-
A3D_WRITE_INVALID_FILE_NAME
-
A3D_WRITE_ERROR
-
A3D_WRITE_CANNOT_LOAD_WRITER
-
A3D_SUCCESS
- Version
- 8.0
A3DStatus A3DChainedBufferFree | ( | A3DChainedBuffer * | pBuffer | ) |
This function is used to free memory allocated by following functions: A3DAsmModelFileExportToParasolidBuffer
A3DRepresentationItemExportToParasolidBuffer
A3DAsmModelFileExportToAcisBuffer
A3DRepresentationItemExportToAcisBuffer
A3DChainedBufferFree
.
- Version
- 4.0
A3DStatus A3DFileContextDelete | ( | A3DFileContextData * | pData | ) |
This function is used to free memory allocated by following functions: A3DAsmGetFilesContextsFromModelFile
.
- Version
- 8.1
A3DStatus A3DHealPkParts | ( | int * | pNbPkParts, |
int ** | pPkParts, | ||
const A3DRWParamsTranslateToPkPartsData * | pParamsTranslateToPkPartsData | ||
) |
Heal parts in the current Parasolid session.
- Parameters
-
[in] pNbPkParts References the number of resulting parts. [in,out] pPkParts References the array of resulting parts. [in] pParamsTranslateToPkPartsData References the parameters to export in the Parasolid session.
- Version
- 8.1
- Returns
- A3D_INITIALIZE_NOT_CALLED
-
A3D_INVALID_ENTITY_NULL
-
A3D_INVALID_ENTITY_TYPE
-
A3D_INVALID_DATA_STRUCT_NULL
-
A3D_INVALID_DATA_STRUCT_SIZE
-
A3D_SUCCESS
- Version
- 9.1
A3DStatus A3DMiscPKMapperGetA3DEntitiesFromPKEntity | ( | const A3DMiscPKMapper * | pMapper, |
int | pPKEntity, | ||
int * | piNbA3DEntities, | ||
A3DEntity *** | ppA3DEntities | ||
) |
Get HOOPS Exchange entities from Parasolid entity.
- Parameters
-
[in] pMapper Topology entities mapper [in] pPKEntity The Parasolid entity [out] piNbA3DEntities Number of HOOPS Exchange entities in the following array [out] ppA3DEntities Array of HOOPS Exchange entities
- Returns
- A3D_SUCCESS
- Version
- 9.0
A3DStatus A3DMiscPKMapperGetPKEntitiesFromA3DEntity | ( | const A3DMiscPKMapper * | pMapper, |
const A3DEntity * | pA3DEntity, | ||
int * | piNbPKEntities, | ||
int ** | ppPKEntities | ||
) |
Get Parasolid entities from HOOPS Exchange entity.
- Parameters
-
[in] pMapper Topology entities mapper [in] pA3DEntity The HOOPS Exchange entity [out] piNbPKEntities Number of Parasolid entities in the following array [out] ppPKEntities Array of Parasolid entities
- Returns
- A3D_SUCCESS
- Version
- 9.0
A3DStatus A3DPkPartsTranslateToA3DAsmModelFile | ( | int | pNbPkParts, |
int * | pPkParts, | ||
A3DRWParamsLoadData * | pLoadParam, | ||
A3DAsmModelFile ** | ppA3DAsmModelFile, | ||
A3DMiscPKMapper ** | pMapper | ||
) |
Translate Parasolid Parts from parasolid session into an A3DModelFile with a mapper.
This function creates an A3DAsmModelFile entity from parts of parasolid session and creates a mapper to get links between entities.
- Parameters
-
[in] pNbPkParts References the number of parts. [in] pPkParts References the array of parts. [out] pA3DAsmModelFile References the A3DAsmModelFile to be created. [out] pMapper Topology entities mapper
- Returns
- A3D_INITIALIZE_NOT_CALLED
-
A3D_INVALID_DATA_STRUCT_NULL
-
A3D_INVALID_DATA_STRUCT_SIZE
-
A3D_INVALID_ENTITY_NULL
-
A3D_LOAD_CANNOT_ACCESS_CADFILE
-
A3D_LOAD_READER_NOT_IMPLEMENTED
-
A3D_LOAD_CANNOT_LOAD_MODEL
-
A3D_LOAD_CANNOT_LOAD_MULTIENTRY
-
A3D_LOAD_EMPTY_MULTI_MODEL
-
A3D_LOAD_MISSING_COMPONENTS
-
A3D_LOAD_MULTI_MODELS_CADFILE if the file contains multiple entries (see A3DRWParamsMultiEntriesData).
-
A3D_LOAD_INVALID_FILE_FORMAT
-
A3D_HEPB_MISSING
-
A3D_INVALID_DATA_NULL
-
A3D_SUCCESS
- Version
- 10.2
A3DStatus A3DRepresentationItemExportToAcisBuffer | ( | const A3DRiRepresentationItem * | pRepItem, |
A3DChainedBuffer ** | pBuffer, | ||
double | dScale | ||
) |
Writes a representation item to a buffer in binary ACIS format.
This function writes the A3DRiRepresentationItem entity to a buffer.
- Parameters
-
[in] pRepItem References the A3DRiRepresentationItem to be written out. [in] pBuffer Buffer. [in] dScale Scale applied to the representation item.
- Returns
- A3D_INVALID_LICENSE
-
A3D_INITIALIZE_NOT_CALLED
-
A3D_INVALID_ENTITY_NULL
-
A3D_INVALID_ENTITY_TYPE
-
A3D_INVALID_DATA_STRUCT_NULL
-
A3D_INVALID_DATA_STRUCT_SIZE
-
A3D_WRITE_INVALID_FILE_NAME
-
A3D_WRITE_ERROR
-
A3D_WRITE_CANNOT_LOAD_WRITER
-
A3D_SUCCESS
- Version
- 7.2
A3DStatus A3DRepresentationItemExportToParasolidBuffer | ( | const A3DRiRepresentationItem * | pRepItem, |
A3DChainedBuffer ** | pBuffer, | ||
double | dUnit | ||
) |
Writes a representation item to a buffer in Parasolid format.
This function writes the A3DRiRepresentationItem entity to a buffer.
- Parameters
-
[in] pRepItem References the A3DRiRepresentationItem to be written out. [in] pBuffer References the chained buffer to be filled. [in] dUnit References the wanted unit for the RI.
- Returns
- A3D_INITIALIZE_NOT_CALLED
-
A3D_INVALID_ENTITY_NULL
-
A3D_INVALID_ENTITY_TYPE
-
A3D_INVALID_DATA_STRUCT_NULL
-
A3D_INVALID_DATA_STRUCT_SIZE
-
A3D_WRITE_ERROR
-
A3D_WRITE_CANNOT_LOAD_WRITER
-
A3D_SUCCESS
- Version
- 4.0
A3DStatus A3DRepresentationItemExportToParasolidFile | ( | const A3DRiRepresentationItem * | pRepItem, |
const A3DUTF8Char * | pcTempFileName, | ||
A3DDouble | dUnit | ||
) |
Writes a representation item to a file in Parasolid format.
This function writes the A3DAsmModelFile entity to a file.
- Parameters
-
[in] pRepItem References the A3DRiRepresentationItem to be written out. [in,out] pcTempFileName References the output file to be written. [in] dUnit References the wanted unit for the RI.
- Returns
- A3D_INITIALIZE_NOT_CALLED
-
A3D_INVALID_ENTITY_NULL
-
A3D_INVALID_ENTITY_TYPE
-
A3D_INVALID_DATA_STRUCT_NULL
-
A3D_INVALID_DATA_STRUCT_SIZE
-
A3D_WRITE_ERROR
-
A3D_WRITE_CANNOT_LOAD_WRITER
-
A3D_SUCCESS
- Version
- 4.0
A3DStatus A3DRepresentationItemsTranslateToPkPartsMultiProcess | ( | A3DUns32 | uiNbProc, |
A3DRWParamsTranslateToPkPartsData const * | pParamsTranslateToPkPartsData, | ||
A3DUns32 | uiNbRepItem, | ||
A3DRiRepresentationItem const ** | pRepItem, | ||
A3DDouble const * | padUnit, | ||
int ** | pNbPkParts, | ||
int *** | pPkParts | ||
) |
Writes a representation item to parts in the current Parasolid session in multi-process context.
This function writes the A3DRiRepresentationItem entity to parts in the current Parasolid session.
- Parameters
-
[in] uiNbProc References the number of processes on which to run [in] pParamsTranslateToPkPartsData References the parameters to export in the Parasolid session.
- Version
- 8.1
- Parameters
-
[in] uiNbRepItem References the number of A3DRiRepresentationItem to be written out. [in] pRepItem References the array of A3DRiRepresentationItem to be written out. [in] padUnit References the array of wanted units for the RI. [out] pNbPkParts References the array of numbers of resulting parts. [out] pPkParts References the array of arrays of resulting parts.
- Returns
- A3D_INITIALIZE_NOT_CALLED
-
A3D_INVALID_ENTITY_NULL
-
A3D_INVALID_ENTITY_TYPE
-
A3D_INVALID_DATA_STRUCT_NULL
-
A3D_INVALID_DATA_STRUCT_SIZE
-
A3D_WRITE_ERROR
-
A3D_WRITE_CANNOT_LOAD_WRITER
-
A3D_SUCCESS
- Version
- 9.2
A3DStatus A3DRepresentationItemTranslateToPkParts | ( | const A3DRiRepresentationItem * | pRepItem, |
const A3DRWParamsTranslateToPkPartsData * | pParamsTranslateToPkPartsData, | ||
double | dUnit, | ||
int * | pNbPkParts, | ||
int ** | pPkParts | ||
) |
Writes a representation item to parts in the current Parasolid session.
This function writes the A3DRiRepresentationItem entity to parts in the current Parasolid session.
- Parameters
-
[in] pRepItem References the A3DRiRepresentationItem to be written out. [in] pParamsTranslateToPkPartsData References the parameters to export in the Parasolid session.
- Version
- 8.1
- Parameters
-
[in] dUnit References the wanted unit for the RI. [out] pNbPkParts References the number of resulting parts. [out] pPkParts References the array of resulting parts.
- Returns
- A3D_INITIALIZE_NOT_CALLED
-
A3D_INVALID_ENTITY_NULL
-
A3D_INVALID_ENTITY_TYPE
-
A3D_INVALID_DATA_STRUCT_NULL
-
A3D_INVALID_DATA_STRUCT_SIZE
-
A3D_WRITE_ERROR
-
A3D_WRITE_CANNOT_LOAD_WRITER
-
A3D_SUCCESS
- Version
- 8.0
A3DVoid A3DRWParamsPrcWriteHelperFree | ( | A3DRWParamsPrcWriteHelper * | pA3DRWParamsPrcWriteHelper | ) |
Free PRC write helper.
- Parameters
-
[in,out] pA3DRWParamsPrcWriteHelper The helper to free.
- Version
- 3.0