API Reference > OdDb Classes > OdDb3dSolid Class > OdDb3dSolid Methods > createExtrudedSolid Method > OdDb3dSolid::createExtrudedSolid Method (OdDbEntity*, OdGeVector3d&, OdDbSweepOptions&)
OdDb3dSolid::createExtrudedSolid Method (OdDbEntity*, OdGeVector3d&, OdDbSweepOptions&)
Syntax
C++
virtual OdResult createExtrudedSolid(OdDbEntity* pSweepEnt, const OdGeVector3d& directionVec, OdDbSweepOptions& sweepOptions);
Parameters 
Description 
OdDbEntity* pSweepEnt 
[in] A pointer to the swept entity.  
const OdGeVector3d& directionVec 
[in] Vector determining the direction and length of extruding.  
OdDbSweepOptions& sweepOptions 
[in] A set of sweeping options.
 

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

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. 

 

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

This method is implemented only for Spatial modeler and returns eNotImplementedYet status for other modelers.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.