Close

Relief for ODA Team in Ukraine

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

Creates a solid by extruding a face. 

 

Parameters
Description
pSweepEnt
[in] Pointer to the swept entity.
faceSubentId
[in] Object ID for the face that must be extruded.
height
[in] Multiplier for the direction vector.
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.