API Reference > Classes > Essential_Classes > OdBmExtrusionElem Class > OdBmExtrusionElem Methods > OdBmExtrusionElem::set Method
OdBmExtrusionElem::set Method
Syntax
C++
OdResult set(const bool bIsSolid, const OdArray<OdBmCurveLoopPtr>& arrCurveLoops, OdBmObjectId idSketchPlane, const double startParam, const double endParam);
Parameters 
Description 
const bool bIsSolid 
[in] Input flag true if form must be solid and false if form must be void.  
const OdArray<OdBmCurveLoopPtr>& arrCurveLoops 
[in] Input array of CurveLoops.  
const double startParam 
[in] Start parameter for extrusion building.  
const double endParam 
[in] End parameter for extrusion building.
 
sketchPlaneId 
[in] Input ID of the sketch plane.  

If creation was successful returns eOk. In other cases returns appropriate error code.

Creates a new extrusion element from corresponding base curveLoops

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.