Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDb3dSolid::separateBody Method
Syntax
C++
virtual OdResult separateBody(OdDb3dSolidPtrArray & newSolids);

Separates the solid into an array of solids representing the additional disjoint volumes. This solid is reduced to a solid with one volume. 

 

Parameters
Description
newSolids
[out] Reference to an array of pointers to OdDb3dSolid objects representing the additional disjoint volumes.

eOk if separating was successful or an appropriate error code in other case.

The calling application is responsible for the resulting entities (either appending them to a database or deleting them when they are no longer needed). If the new solids from the output array are not appended to the database, there will be a memory leak. 

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.