Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdModelerGeometry::shellBody Method
Syntax
C++
virtual OdResult shellBody(const OdArray<OdDbSubentId *> & faceSubentIds, double offsetDistance) = 0;

Transforms this ModelerGeometry object into a thin-walled ModelerGeometry object shell by offsetting faces. 

 

Parameters
Description
faceSubentIds
[in] Array of faces' subentity IDs. Faces with specified IDs will be removed from the shell.
offsetDistance
[in] Offset distance for each face.

eOk if successful or an appropriate error code otherwise.

Offset can have an outside or inside direction related to the ModelerGeometry object, depending on the sign of the offsetDistance parameter:

  • Positive value means outside direction.
  • Negative value means inside direction.
Copyright © 2002-2022. Open Design Alliance All rights reserved.