API Reference > OdDb Classes > OdDbSurface Class > OdDbSurface Methods > OdDbSurface::createFrom Method
OdDbSurface::createFrom Method
Syntax
C++
static OdResult createFrom(const OdDbEntity* pFromEntity, OdDbSurfacePtr& pNewSurface);
Parameters 
Description 
const OdDbEntity* pFromEntity 
[in] Input surface.  
OdDbSurfacePtr& pNewSurface 
[out] Resulting surface.
 

eOk if an extruded surface was created successfully or an appropriate error code otherwise.

Creates an extruded surface from a 2D entity with thickness or a planar surface from a closed curve or region. 

 

This method is implemented only for Spatial modeler and returns the eNotImplementedYet status for other modelers.

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