A3DAsmModelFileExportToParasolidBufferWithMapper

A3DStatus A3DAsmModelFileExportToParasolidBufferWithMapper(const A3DAsmModelFile *pA3DAsmModelFile, A3DMiscPKMapper *pMapper, const A3DRWParamsExportParasolidData *pParamsExportData, A3DChainedBuffer **pBuffer)
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.

Return Values

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:

11.0

Parameters

pA3DAsmModelFile: References the A3DAsmModelFile to be written out.

pMapper: Topology entities mapper

pParamsExportData: References the parameters for export.

pBuffer: Buffer.

Returns

A3D_SUCCESS on success, or an error code on failure