A3DPDF3DStreamCreateFromModelFileAsPRC
-
A3DStatus
A3DPDF3DStreamCreateFromModelFileAsPRC(A3DPDFDocument *pDoc, A3DAsmModelFile *pModelFile, const A3DRWParamsExportPrcData *pParamsExportData, A3DPDF3DStream **pp3DStream, A3DRWParamsPrcWriteHelper **ppPrcWriteHelper) A3DStatusA3DPDF3DStreamCreateFromModelFileAsPRC(A3DPDFDocument* pDoc,A3DAsmModelFile* pModelFile, constA3DRWParamsExportPrcData* pParamsExportData,A3DPDF3DStream** pp3DStream,A3DRWParamsPrcWriteHelper** ppPrcWriteHelper)Function to create a PRC Stream from a Model File.
The 3D Stream object is primarily created with this function, and it should be stored on the 3D Artwork through the structure:c:struct:~A3DPDF3DArtworkData2. This function saves the modelfile in a PRC format, and creates a 3D Stream object from this data.
Parameters
pDoc: The Document object to work with.
pModelFile: The Document object to work with.
pParamsExportData: The PRC export parameters.
pp3DStream: The 3DStream object created.
ppPrcWriteHelper: Used to get PRC data such as unique identifiers of PRC nodes.
Returns
A3D_SUCCESS in case of success or an error code