Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDb3dSolid::createFrom Method
Syntax
C++
virtual OdResult createFrom(const OdDbEntity* pFromEntity);

Creates a 3D solid from the specified entity. 

 

Parameters
Description
pFromEntity
[in] Pointer to an entity from which the solid must be created.

eOk if conversion is successful or an appropriate error code in other case.

An entity to create from must enclose a volume and can be one of the following:

  • OdDbSurface
  • OdDbSubDMesh
  • closed curve with thickness
  • thick OdDbSolid
  • thick OdDbTrace
  • polyline with constant width and thickness

 

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

Copyright © 2002-2022. Open Design Alliance All rights reserved.