API Reference > Functions > exportMeshToPrc Function
exportMeshToPrc Function
Syntax
C++
OdResult OD_TOOLKIT_EXPORT exportMeshToPrc(const OdGiDrawable * pDrawable, const PDF2PRCExportParams & params, OdRxObject * pContext);

PrcExport.h

Parameters 
Description 
const OdGiDrawable * pDrawable 
[in] A pointer to an entity to export.  
const PDF2PRCExportParams & params 
[in] Export parameters.  
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.  
pDb 
[in] A pointer to a database where the exported entity is allocated.  

Export pDrawable as 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.