API Reference > Classes > Family Classes > OdBmSweepElem Class > OdBmSweepElem Methods > OdBmSweepElem::set Method
OdBmSweepElem::set Method
Syntax
C++
OdResult set(const bool bIsSolid, const OdBmGCurvePtrArray& path, const OdBmObjectId idSketchPlane, const OdArray<OdBmGCurvePtrArray>& profile, const OdUInt32 iProfileCurveIndex, const OdBm::ProfilePlaneLocation::Enum profilePlaneLocation);
Parameters 
Description 
const bool bIsSolid 
[in] Indicates whether a SweepElem is Solid or Void.  
const OdBmGCurvePtrArray& path 
[in] Input path.  
const OdBmObjectId idSketchPlane 
[in] id of SketchPlane for path.  
const OdArray<OdBmGCurvePtrArray>& profile 
[in] Input profile.  
const OdUInt32 iProfileCurveIndex 
[in] Input index of path-curve.  
const OdBm::ProfilePlaneLocation::Enum profilePlaneLocation 
[in] Input location of profile location curve.
 

Returns eOk if successful or an appropriate error code otherwise.

Sets the sweep's data, to create it.

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