Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdModelerGeometry::createExtrudedObject Method
Syntax
C++
virtual OdResult createExtrudedObject(OdDbEntity* pSweepEnt, const OdGeVector3d& directionVec, OdDbSweepOptions& sweepOptions, bool isSolid = true, bool bHistoryEnabled = false) = 0;

Creates an object by sweeping a planar curve, region, or planar surface in the direction of the given vector using a distance equal to the length of the vector. 

 

Parameters
Description
pSweepEnt
[in] Pointer to the swept entity.
directionVec
[in] Vector determining the direction and length of extruding.
sweepOptions
[in] Set of sweeping options.
isSolid
[in] Boolean flag that indicates that this ModelerGeometry object is solid.
bHistoryEnabled
[in] Boolean flag that indicates whether history recording is enabled.

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

Sweeping parameters (for example, angle) are set through the sweepOptions object reference.

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