Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDb3dSolid::createExtrudedSolid Method (OdDbEntity*, const OdGeVector3d&, OdDbSweepOptions&)
Syntax
C++
virtual OdResult createExtrudedSolid(OdDbEntity* pSweepEnt, const OdGeVector3d& directionVec, OdDbSweepOptions& sweepOptions);

Creates a solid 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.

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. 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.