Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
OdIfcModelerGeometry::extrude Method
Syntax
C++
virtual OdResult extrude(OdIfcProfileDefPtr profile, OdGeVector3d dir) = 0;

Creates an extrusion body and stores it in the geometry modeler object. 

 

Parameters
Description
profile
[in] A smart pointer to the base profile for the extrusion.
dir
[in] A vector object that represents the length and the direction of the extrusion.

Returns the operation result code:

  • eOk if the extrusion was performed successfully.
  • eNullEntityPointer if the smart pointer to the base profile is NULL.
  • eEmptySet if the base profile has no contours.
  • eGeneralModelingFailure in other cases.
Copyright © 2002-2022. Open Design Alliance All rights reserved.