A3DPDFMakeSnapshotFromModelFile
-
A3DStatus
A3DPDFMakeSnapshotFromModelFile(A3DAsmModelFile *pModelFile, const A3DPDFSnapshotOptionsData *pSnapshotOptionsData, const A3DUTF8Char *pcOutputFilename) A3DStatusA3DPDFMakeSnapshotFromModelFile(A3DAsmModelFile* pModelFile, constA3DPDFSnapshotOptionsData* pSnapshotOptionsData, constA3DUTF8Char* pcOutputFilename)Function to create the poster for a view in a model file.
Important: HOOPS Exchange publish component uses the graphics driver of the user’s PC. By default, HOOPS Publish attempts to select the graphics driver in this order: DX11->DX9->OpenGL2->OpenGL. To override the default driver selection, set the A3DPOSTERDRV environment variable to one of the following values: DX11, DX9, OGL2, OGL1
Parameters
pModelFile: The modelfile where is defined the 3D data.
pSnapshotOptionsData: The snapshot parameters.
pcOutputFilename: Path to the file name to generate.
Returns
A3D_SUCCESS in case of success or an error code