A3DPDF3DStreamCreateFromModelFileAsU3D

A3DStatus A3DPDF3DStreamCreateFromModelFileAsU3D(A3DPDFDocument *pDoc, A3DAsmModelFile *pModelFile, const A3DRWParamsExportU3DData *pParamsExportData, A3DPDF3DStream **pp3DStream)
A3DStatus A3DPDF3DStreamCreateFromModelFileAsU3D(A3DPDFDocument* pDoc, A3DAsmModelFile* pModelFile, const A3DRWParamsExportU3DData* pParamsExportData, A3DPDF3DStream** pp3DStream)

Function to create a U3D Stream from 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 U3D 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 U3D export parameters.

pp3DStream: The 3DStream object created.

Returns

A3D_SUCCESS in case of success or an error code