A3DAsmModelFileExportToPrcFile
-
A3DStatus
A3DAsmModelFileExportToPrcFile(const A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExportPrcData *pParamsExportData, const A3DUTF8Char *pcCADFileName, A3DRWParamsPrcWriteHelper **ppPrcWriteHelper) A3DStatusA3DAsmModelFileExportToPrcFile(constA3DAsmModelFile* pA3DAsmModelFile, constA3DRWParamsExportPrcData* pParamsExportData, constA3DUTF8Char* pcCADFileName,A3DRWParamsPrcWriteHelper** ppPrcWriteHelper)Write a model file to a physical file in a PRC format.
This function writes the
A3DAsmModelFileentity to a physical 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:
Parameters
pA3DAsmModelFile: References the
A3DAsmModelFileto be written out.pParamsExportData: References the parameters for export.
pcCADFileName: References the path of the file into which the function stores the model file.
ppPrcWriteHelper: Used to get PRC data such as unique identifiers of PRC nodes.
Returns
A3D_SUCCESS in case of success or an error code