API Reference > OdDb Classes > OdDb3dSolid Class > OdDb3dSolid Methods > OdDb3dSolid::removeFaces Method
OdDb3dSolid::removeFaces Method
Syntax
C++
virtual OdResult removeFaces(const OdArray<OdDbSubentId *> & faceSubentIds);
Parameters 
Description 
const OdArray<OdDbSubentId *> & faceSubentIds 
[in] Array of faces' subentity IDs. Faces with specified IDs will be removed.
 

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

Removes the specified faces from the solid. 

 

After removing specified faces, the adjacent faces will enlarge to fill the gaps. This method implements gap filling only if there is no other solution using adjacent faces. If adjacent faces can't be used, the method leaves the solid unmodified. 

Removing faces can cause the solid to become invalid in some cases. 

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

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