API Reference > Classes > Essential_Classes > OdBmBlendElem Class > OdBmBlendElem Methods > OdBmBlendElem::set Method (bool, OdBmCurveLoopPtr &, OdBmCurveLoopPtr &, OdBmObjectId, double, double, OdBmVtxConnectionsPtr &)
OdBmBlendElem::set Method (bool, OdBmCurveLoopPtr &, OdBmCurveLoopPtr &, OdBmObjectId, double, double, OdBmVtxConnectionsPtr &)
Syntax
C++
OdResult set(const bool bIsSolid, const OdBmCurveLoopPtr & baseCurveLoop, const OdBmCurveLoopPtr & topCurveLoop, OdBmObjectId sketchPlaneId, double startParam, double endParam, const OdBmVtxConnectionsPtr & pConnections);
Parameters 
Description 
const bool bIsSolid 
[in] Input flag true if form must be solid and false if form must be void.  
const OdBmCurveLoopPtr & baseCurveLoop 
[in] Input bottom blend section that must be closed. All curves must lie on the same plane  
const OdBmCurveLoopPtr & topCurveLoop 
[in] Input top blend section that must be closed. All curves must lie on the same plane  
OdBmObjectId sketchPlaneId 
[in] Input sketch plane ID for the base curveLoop.  
double startParam 
[in] Start parameter for blend building.  
double endParam 
[in] End parameter for blend building.  
const OdBmVtxConnectionsPtr & pConnections 
[in] Input array of vertex connections between curveLoops.
 

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

Creates a new blend element from corresponding base and top curveLoops

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