API Reference > Other Classes > OdModelerGeometryCreator Class > OdModelerGeometryCreator Methods > OdModelerGeometryCreator::createModeler Method
OdModelerGeometryCreator::createModeler Method
Syntax
C++
virtual OdResult createModeler(OdArray<OdModelerGeometryPtr> & models, OdStreamBuf* pStreamBuf, OdDbAuditInfo* pAuditInfo = NULL, bool standardSaveFlag = true, bool bEnableACISAudit = false) = 0;
Parameters 
Description 
OdArray<OdModelerGeometryPtr> & models 
[out] Receives an array of OdModelerGeometry SmartPointers.  
OdStreamBuf* pStreamBuf 
[in] Pointer to the StreamBuf object from which the data are to be read.  
bool standardSaveFlag = true 
[in] Controls the saving and restoring of use count data in the save file. 

Creates one or more instances of OdModelerGeometry from the specified SAT/SAB file. 

 

Since OdModelerGeometry does not support multi-body SAT files, such files are divided into a set of single body OdModelerGeometry objects 

Empty streamBuf generates single element array with empty OdModelerGeometry. 

Returns eOk if successful, or an appropriate error code if not.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.