API Reference > Classes > Essential_Classes > OdBmRevolutionElem Class > OdBmRevolutionElem Methods > OdBmRevolutionElem::set Method
OdBmRevolutionElem::set Method
Syntax
C++
OdResult set(const bool bIsSolid, const OdBmCurveLoopPtrArray& aCurveLoops, const OdBmObjectId idSketchPlane, const OdBmGLinePtr pAxisOfRotation, const double dStartAngel, const double dEndAngel);
Parameters 
Description 
const bool bIsSolid 
[in] Input flag true if form must be solid and false if form must be void.  
const OdBmGLinePtr pAxisOfRotation 
[in] Axis of RevolutionElem.  
const double dStartAngel 
[in] Input parameter. Set start angle of the RevolutionElem.  
const double dEndAngel 
[in] Input parameter. Set end angle of the RevolutionElem.
 
arrCurveLoops 
[in] Input array of CurveLoops.  
sketchPlaneId 
[in] Input ID of the sketch plane.  

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

Creates a new Revolution element

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