Structures to write the ModelFile defined through this API. More...

Data Structures

struct  A3DChainedBuffer_t
 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  A3DRWParamsExportFbxData
 A structure that specifies parameters used to write the model file to FBX 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  A3DRWParamsExportObjData
 A structure that specifies parameters used to write the model file to OBJ 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_t 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...
 

Enumerations

enum  A3DECompressBrepType {
  kA3DCompressionLow = 0,
  kA3DCompressionMedium,
  kA3DCompressionHigh
}
 Level of compression used to write the model file to PRC format. More...
 
enum  A3DEJTVersion {
  kA3DE_JT81,
  kA3DE_JT95,
  kA3DE_JT100
}
 JT formats supported for export. More...
 
enum  A3DEStepFormat {
  kA3DStepAP203 = 0,
  kA3DStepAP214,
  kA3DStepAP242
}
 STEP formats supported for export. More...
 
enum  A3DETranslateToPkPartsAccurate {
  kA3DE_ACCURATE_NO,
  kA3DE_ACCURATE_YES,
  kA3DE_ACCURATE_ONLY_IF_NOT_PARASOLID
}
 Control mode of the accurate edge computation in TranslateToPkParts functions. Used in A3DRWParamsTranslateToPkPartsData. More...
 
enum  A3DETranslateToPkPartsHealing {
  kA3DE_HEALING_NO,
  kA3DE_HEALING_YES,
  kA3DE_HEALING_ONLY_IF_NOT_PARASOLID
}
 Control mode of the healing in TranslateToPkParts functions. Used in A3DRWParamsTranslateToPkPartsData. More...
 
enum  A3DETranslateToPkPartsMergeEntities {
  kA3DE_MERGE_NO,
  kA3DE_MERGE_YES,
  kA3DE_MERGE_ONLY_IF_NOT_PARASOLID
}
 Control mode of the accurate edge computation in TranslateToPkParts functions. Used in A3DRWParamsTranslateToPkPartsData. More...
 
enum  A3DETranslateToPkPartsSimplifyGeometry {
  kA3DE_SIMPLIFY_NO,
  kA3DE_SIMPLIFY_YES,
  kA3DE_SIMPLIFY_ONLY_IF_NOT_PARASOLID
}
 Control mode of the simplify in TranslateToPkParts functions. Used in A3DRWParamsTranslateToPkPartsData. It enables the conversion from nurbs to analytical. More...
 
enum  A3DEU3DVersion {
  kA3DECMA1,
  kA3DECMA3
}
 U3D formats supported for export. More...
 
enum  A3DEWriteGeomTessMode {
  kA3DWriteGeomOnly = 0,
  kA3DWriteGeomAndTess,
  kA3DWriteTessOnly
}
 WritingMode of the model file. Set which kind of content should be written. 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 A3DAsmModelFileExportToFbxFile (const A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExportFbxData *pParamsExportData, const A3DUTF8Char *pcCADFileName)
 Writes a model file to a physical file in FBX 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 A3DAsmModelFileExportToObjFile (const A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExportObjData *pParamsExportData, const A3DUTF8Char *pcCADFileName)
 Writes a model file to a physical file in OBJ format (with MTL for the materials). More...
 
A3DStatus A3DAsmModelFileExportToParasolidBuffer (const A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExportParasolidData *pParamsExportData, A3DChainedBuffer **pBuffer)
 Writes a model file to a buffer in Parasolid format. More...
 
A3DStatus A3DAsmModelFileExportToParasolidBufferWithMapper (const A3DAsmModelFile *pA3DAsmModelFile, A3DMiscPKMapper *pMapper, 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, A3DUns32 *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 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

◆ 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

◆ A3DEWriteGeomTessMode

WritingMode of the model file. Set which kind of content should be written.

Version
6.0
Enumerator
kA3DWriteGeomOnly 

Write only geometry.

kA3DWriteGeomAndTess 

Mixed mode: write geometry and tessellation.

kA3DWriteTessOnly 

Write only tessellation.

◆ 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
Enumerator
kA3DCompressionLow 

Compression with tolerance set to 0.001 mm (low compression, high accuracy).

kA3DCompressionMedium 

Compression with tolerance set to 0.01 mm (medium compression, medium accuracy).

kA3DCompressionHigh 

Compression with tolerance set to 0.1 mm (high compression, low accuracy).

◆ A3DEStepFormat

STEP formats supported for export.

Version
3.0
Enumerator
kA3DStepAP203 

AP 203 Ed 2 since

Version
9.1
kA3DStepAP214 

AP 214.

kA3DStepAP242 

AP 242.

Version
9.1

◆ A3DETranslateToPkPartsHealing

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.

◆ A3DETranslateToPkPartsAccurate

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.

◆ A3DETranslateToPkPartsSimplifyGeometry

Control mode of the simplify in TranslateToPkParts functions. Used in A3DRWParamsTranslateToPkPartsData. It enables the conversion from nurbs to analytical.

Version
8.1
Enumerator
kA3DE_SIMPLIFY_NO 

Disable simplify.

kA3DE_SIMPLIFY_YES 

Enable simplify.

kA3DE_SIMPLIFY_ONLY_IF_NOT_PARASOLID 

Enable simplify 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.

◆ A3DETranslateToPkPartsMergeEntities

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.

◆ A3DEU3DVersion

U3D formats supported for export.

Version
4.0
Enumerator
kA3DECMA1 

ECMA-363, version 1 writing. (Acrobat Reader 7.0 compatible).

kA3DECMA3 

ECMA-363, version 3 writing.

◆ A3DEJTVersion

JT formats supported for export.

Version
10.0
Enumerator
kA3DE_JT81 

JT version 8.1 writing.

kA3DE_JT95 

JT version 9.5 writing.

kA3DE_JT100 

JT version 10.0 writing.

Function Documentation

◆ A3DAsmModelFileExportToPrcFile()

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]pA3DAsmModelFileReferences the A3DAsmModelFile to be written out.
[in]pParamsExportDataReferences the parameters for export.
[in]pcCADFileNameReferences the path of the file into which the function stores the model file.
[in,out]ppPrcWriteHelperUsed 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

◆ A3DRWParamsPrcWriteHelperFree()

A3DVoid A3DRWParamsPrcWriteHelperFree ( A3DRWParamsPrcWriteHelper pA3DRWParamsPrcWriteHelper)

Free PRC write helper.

Parameters
[in,out]pA3DRWParamsPrcWriteHelperThe helper to free.
Remarks
Because this function does not return A3DStatus the internal thread safety policy is to wait for the availability of the API.
Version
3.0

◆ A3DAsmModelFileExportToU3DFile()

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]pA3DAsmModelFileReferences the A3DAsmModelFile to be written out.
[in]pParamsExportDataReferences the parameters for export.
[in]pcCADFileNameReferences 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

◆ A3DAsmModelFileExportToStepFile()

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]pA3DAsmModelFileReferences the A3DAsmModelFile to be written out.
[in]pParamsExportDataReferences the parameters for export.
[in]pcCADFileNameReferences 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

◆ A3DAsmModelFileExportToJTFile()

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]pA3DAsmModelFileReferences the A3DAsmModelFile to be written out.
[in]pParamsExportDataReferences the parameters for export.
[in]pcCADFileNameReferences the path of the file into which the function stores the model file.
Returns
A3D_SUCCESS
Version
6.0

◆ A3DAsmModelFileExportToVrmlFile()

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]pA3DAsmModelFileReferences the A3DAsmModelFile to be written out.
[in]pcCADFileNameReferences 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

◆ A3DAsmModelFileExportToIgesFile()

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]pA3DAsmModelFileReferences the A3DAsmModelFile to be written out.
[in]pParamsExportDataReferences the parameters for export.
[in]pcCADFileNameReferences 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

◆ A3DAsmModelFileExportToStlFile()

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]pA3DAsmModelFileReferences the A3DAsmModelFile to be written out.
[in]pParamsExportDataReferences the parameters for export.
[in]pcCADFileNameReferences 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

◆ A3DAsmModelFileExportTo3mfFile()

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]pA3DAsmModelFileReferences the A3DAsmModelFile to be written out.
[in]pParamsExportDataReferences the parameters for export.
[in]pcCADFileNameReferences 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

◆ A3DAsmModelFileExportToXMLFile()

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]pA3DAsmModelFileReferences the A3DAsmModelFile to be written out.
[in]pParamsExportDataReferences the parameters for export.
[in]pcXMLFileNameReferences the path of the file into which the function stores the model file.
[out]uMapSizeSize of the two following arrays. If set to NULL, the map construction is bypassed.
[out]puMapXmlIdsArray 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]ppMapProductOccurrencesArray 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

◆ A3DAsmModelFileExportToObjFile()

A3DStatus A3DAsmModelFileExportToObjFile ( const A3DAsmModelFile pA3DAsmModelFile,
const A3DRWParamsExportObjData pParamsExportData,
const A3DUTF8Char pcCADFileName 
)

Writes a model file to a physical file in OBJ format (with MTL for the materials).

This function writes the A3DAsmModelFile entity to a physical file.

Parameters
[in]pA3DAsmModelFileReferences the A3DAsmModelFile to be written out.
[in]pParamsExportDataReferences the parameters for export.
[in]pcCADFileNameReferences 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
12.0

◆ A3DAsmModelFileExportToFbxFile()

A3DStatus A3DAsmModelFileExportToFbxFile ( const A3DAsmModelFile pA3DAsmModelFile,
const A3DRWParamsExportFbxData pParamsExportData,
const A3DUTF8Char pcCADFileName 
)

Writes a model file to a physical file in FBX format.

This function writes the A3DAsmModelFile entity to a physical file.

Parameters
[in]pA3DAsmModelFileReferences the A3DAsmModelFile to be written out.
[in]pParamsExportDataReferences the parameters for export.
[in]pcCADFileNameReferences 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
12.0

◆ A3DAsmGetFilesPathFromModelFile()

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 A3DUTF8Char arrays will be freed if the corresponding unsigned int parameters are non-null: A3DAsmGetFilesPathFromModelFile(NULL, [...]) to delete the arrays.

Parameters
[in]pA3DAsmModelFileThe input model file. Can be "tree only" A3DAsmModelFile.
[out]uNbPartFilesThe number of parts detected. (must not be NULL)
[out]ppPartFilesPathsThe file names of detected parts. (must not be NULL)
[out]uNbAssemblyFilesThe number of sub-assemblies detected. (can be NULL)
[out]ppAssemblyFilesPathsThe file names of detected sub-assemblies. (can be NULL)
[out]uNbMissingFilesThe number of missing files. (can be NULL)
[out]ppMissingFilesPathsThe file names of detected missing files. (can be NULL)
Returns
A3D_INVALID_ENTITY_NULL
A3D_SUCCESS
Version
5.0

◆ A3DAsmGetFilesContextsFromModelFile()

A3DStatus A3DAsmGetFilesContextsFromModelFile ( const A3DAsmModelFile pA3DAsmModelFile,
A3DUns32 uNbFilesContexts,
A3DFileContextData ***  ppFilesContexts 
)

Extract all the files contexts (RefSet, Configs...) from a model file.

Parameters
[in]pA3DAsmModelFileThe input model file. Can be "tree only" A3DAsmModelFile.
[out]uNbFilesContextsThe number of files contexts detected. (must not be NULL)
[out]ppFilesContextsThe file contexts. (must not be NULL)
Returns
A3D_INVALID_ENTITY_NULL
A3D_SUCCESS
Version
8.1

◆ A3DFileContextDelete()

A3DStatus A3DFileContextDelete ( A3DFileContextData pData)

◆ A3DAsmModelFileLoadFromPRCFiles()

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]pcRootPrcFilePathThe file name of the top assembly file. This model file is loaded as assembly tree only and saved as a PRC file.
[in]uNbFileThe number of file names to plug into the assembly.
[in]ppPRCFilePathThe equivalent PRC file paths for parts. Length must equal uNbFile.
[in]ppCADFilePathThe native part file paths. Length must equal uNbFile.
[in]pParamsLoadDataThe 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]pA3DAsmModelFileThe final reassembled model file.
Returns
A3D_ERROR
A3D_INITIALIZE_NOT_CALLED
A3D_INVALID_DATA
A3D_LOAD_INVALID_FILE_NAME
A3D_SUCCESS
Version
7.1

◆ A3DAsmModelFileLoadFromMultiplePrcFile()

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]pcFileNameThe file name of the top assembly file. Conceived for model file loaded as assembly tree only and saved as a PRC file.
[in]uNbPartThe number of file names to plug.
[in]ppCADFilePathThe native part file paths. Length must equal uNbPart.
[in]ppPRCFilePathThe equivalent PRC file paths for parts. Length must equal uNbPart.
[in]pParamsLoadDataThe read/write parameters use the model file. Configurations must be set (default or numEntries = 1).
[out]pA3DAsmModelFileThe final reassembled model file.
Returns
A3D_SUCCESS
Version
5.0

◆ A3DAsmModelFileExportToParasolidFile()

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]pA3DAsmModelFileReferences the A3DAsmModelFile to be written out.
[in]pParamsExportDataReferences the parameters for export.
[in]pcCADFileNameReferences 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

◆ A3DChainedBufferFree()

◆ A3DAsmModelFileExportToParasolidBuffer()

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]pA3DAsmModelFileReferences the A3DAsmModelFile to be written out.
[in]pParamsExportDataReferences the parameters for export.
[out]pBufferReferences 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

◆ A3DRepresentationItemExportToParasolidFile()

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]pRepItemReferences the A3DRiRepresentationItem to be written out.
[in,out]pcTempFileNameReferences the output file to be written.
[in]dUnitReferences 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

◆ A3DRepresentationItemExportToParasolidBuffer()

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]pRepItemReferences the A3DRiRepresentationItem to be written out.
[in]pBufferReferences the chained buffer to be filled.
[in]dUnitReferences 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

◆ A3DAsmModelFileTranslateToPkParts()

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]pA3DAsmModelFileReferences the A3DAsmModelFile to be written out.
[in]pParamsExportDataReferences the parameters for export.
[in]pParamsTranslateToPkPartsDataReferences the parameters to export in the Parasolid session.
Version
8.1
Parameters
[out]pNbPkPartsReferences the number of resulting parts.
[out]pPkPartsReferences the array of resulting parts. Memory for the pPkParts array should be allocated and freed in Parasolid.
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_PARASOLID_MEMORY_ERROR
A3D_SUCCESS
Version
8.0

◆ A3DRepresentationItemTranslateToPkParts()

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]pRepItemReferences the A3DRiRepresentationItem to be written out.
[in]pParamsTranslateToPkPartsDataReferences the parameters to export in the Parasolid session.
Version
8.1
Parameters
[in]dUnitReferences the wanted unit for the RI.
[out]pNbPkPartsReferences the number of resulting parts.
[out]pPkPartsReferences 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_PARASOLID_MEMORY_ERROR
A3D_SUCCESS
Version
8.0

◆ A3DRepresentationItemsTranslateToPkPartsMultiProcess()

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]uiNbProcReferences the number of processes on which to run
[in]pParamsTranslateToPkPartsDataReferences the parameters to export in the Parasolid session.
Version
8.1
Parameters
[in]uiNbRepItemReferences the number of A3DRiRepresentationItem to be written out.
[in]pRepItemReferences the array of A3DRiRepresentationItem to be written out.
[in]padUnitReferences the array of wanted units for the RI.
[out]pNbPkPartsReferences the array of numbers of resulting parts.
[out]pPkPartsReferences 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_PARASOLID_MEMORY_ERROR
A3D_SUCCESS
Version
9.2

◆ A3DHealPkParts()

A3DStatus A3DHealPkParts ( int *  pNbPkParts,
int **  pPkParts,
const A3DRWParamsTranslateToPkPartsData pParamsTranslateToPkPartsData 
)

Heal parts in the current Parasolid session.

Parameters
[in]pNbPkPartsReferences the number of resulting parts.
[in,out]pPkPartsReferences the array of resulting parts.
[in]pParamsTranslateToPkPartsDataReferences 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

◆ A3DMiscPKMapperGetPKEntitiesFromA3DEntity()

A3DStatus A3DMiscPKMapperGetPKEntitiesFromA3DEntity ( const A3DMiscPKMapper pMapper,
const A3DEntity pA3DEntity,
int *  piNbPKEntities,
int **  ppPKEntities 
)

Get Parasolid entities from HOOPS Exchange entity.

Parameters
[in]pMapperTopology entities mapper
[in]pA3DEntityThe HOOPS Exchange entity
[out]piNbPKEntitiesNumber of Parasolid entities in the following array
[out]ppPKEntitiesArray of Parasolid entities. This array is internal to the A3DMiscPKMapper and should not be modified (changing it will compromise the A3DMiscPKMapper). The lifetime of this array is the same as the lifetime of the A3DMiscPKMapper.
Returns
A3D_SUCCESS
Version
9.0

◆ A3DMiscPKMapperGetA3DEntitiesFromPKEntity()

A3DStatus A3DMiscPKMapperGetA3DEntitiesFromPKEntity ( const A3DMiscPKMapper pMapper,
int  pPKEntity,
int *  piNbA3DEntities,
A3DEntity ***  ppA3DEntities 
)

Get HOOPS Exchange entities from Parasolid entity.

Parameters
[in]pMapperTopology entities mapper
[in]pPKEntityThe Parasolid entity
[out]piNbA3DEntitiesNumber of HOOPS Exchange entities in the following array
[out]ppA3DEntitiesArray of HOOPS Exchange entities. This array is internal to the A3DMiscPKMapper and shouldn't be modified (changing it will compromise the A3DMiscPKMapper). The lifetime of this array is the same as the lifetime of the A3DMiscPKMapper.
Returns
A3D_SUCCESS
Version
9.0

◆ A3DAsmModelFileExportToParasolidFileWithMapper()

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]pA3DAsmModelFileReferences the A3DAsmModelFile to be written out.
[in]pMapperTopology entities mapper
[in]pParamsExportDataReferences the parameters for export.
[in]pcCADFileNameReferences 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

◆ A3DAsmModelFileExportToParasolidBufferWithMapper()

A3DStatus A3DAsmModelFileExportToParasolidBufferWithMapper ( const A3DAsmModelFile pA3DAsmModelFile,
A3DMiscPKMapper pMapper,
const A3DRWParamsExportParasolidData pParamsExportData,
A3DChainedBuffer **  pBuffer 
)

Writes a model file to a buffer 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]pA3DAsmModelFileReferences the A3DAsmModelFile to be written out.
[in]pMapperTopology entities mapper
[in]pParamsExportDataReferences the parameters for export.
[out]pBufferBuffer.
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
11.0

◆ A3DAsmModelFileExportToPrcStream()

A3DStatus A3DAsmModelFileExportToPrcStream ( const A3DAsmModelFile pA3DAsmModelFile,
const A3DRWParamsExportPrcData pParamsExportData,
A3DUTF8Char **  pcStream,
A3DUns32 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]pA3DAsmModelFileReferences the A3DAsmModelFile to be written out.
[in]pParamsExportDataReferences the parameters for export.
[out]pcStreamBuffer containing the PRC content.
[out]uLengthLength of the pcStream.
[in,out]ppPrcWriteHelperUsed 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

◆ A3DAsmModelFileExportToAcisFile()

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]pA3DAsmModelFileReferences the A3DAsmModelFile to be written out.
[in]pParamsExportDataReferences the parameters for export.
[in]pcCADFileNameReferences 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

◆ A3DAsmModelFileExportToAcisBuffer()

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]pA3DAsmModelFileReferences the A3DAsmModelFile to be written out.
[in]pParamsExportDataReferences the parameters for export.
[out]pBufferBuffer.
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

◆ A3DRepresentationItemExportToAcisBuffer()

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]pRepItemReferences the A3DRiRepresentationItem to be written out.
[in]pBufferBuffer.
[in]dScaleScale 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