API Reference > Functions > exportMeshToPrc Function
exportMeshToPrc Function
Syntax
C++
OdResult OD_TOOLKIT_EXPORT exportMeshToPrc(const TriangleInfoPtrArray & mesh, OdRxObject * pContext);

PrcExport.h

Parameters 
Description 
const TriangleInfoPtrArray & mesh 
[in] An array with triangleInfo structs that represents the mesh.  
OdRxObject * pContext 
[in] An output context (PRCExportContext) to write entity's data to. 

Returns eOk if the export is successfully done or an appropriate error code in the other case.

Export mesh into prc file (into context), prc file (from context) into stream, or both - depending on export params.

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.