API Reference > Other Classes > OdModelerGeometry Class > OdModelerGeometry Methods > OdModelerGeometry::createFrom Method
OdModelerGeometry::createFrom Method
Syntax
C++
virtual OdResult createFrom(const OdDbEntity* pFromEntity) = 0;
Parameters 
Description 
const OdDbEntity* pFromEntity 
[in] Pointer to either a planar entity with thickness, a simple closed planar entity, or an OdDbSolid entity pointed to by pFromEntity.
 

eOk if successful, or an appropriate error code otherwise.

Creates an extruded surface when given a planar entity with thickness, or creates a plane surface when given a simple closed planar entity. 

 

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