API Reference > OdDb Classes > OdDb3dSolid Class > OdDb3dSolid Methods > createExtrudedSolid Method > OdDb3dSolid::createExtrudedSolid Method (OdDbEntity*, OdDbSubentId&, double, OdDbSweepOptions&)
OdDb3dSolid::createExtrudedSolid Method (OdDbEntity*, OdDbSubentId&, double, OdDbSweepOptions&)
Syntax
C++
virtual OdResult createExtrudedSolid(OdDbEntity* pSweepEnt, const OdDbSubentId& faceSubentId, double height, OdDbSweepOptions& sweepOptions);
Parameters 
Description 
OdDbEntity* pSweepEnt 
[in] A pointer to the swept entity.  
const OdDbSubentId& faceSubentId 
[in] Object ID for the face that must be extruded.  
double height 
[in] Multiplier for the direction vector.  
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 extruding a face. 

 

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.