API Reference > Other Classes > OdModelerGeometry Class > OdModelerGeometry Methods > OdModelerGeometry::createLoftedObject Method
OdModelerGeometry::createLoftedObject Method
Syntax
C++
virtual OdResult createLoftedObject(OdDbEntityPtrArray& crossSectionCurves, OdDbEntityPtrArray& guideCurves, OdDbEntity* pPathCurve, OdDbLoftOptions& loftOptions, bool isSolid = true) = 0;
Parameters 
Description 
OdDbEntityPtrArray& crossSectionCurves 
[in] Array of curve entities to be used as cross sections for the lofting operation.  
OdDbEntityPtrArray& guideCurves 
[in] Array of guide curves.  
OdDbEntity* pPathCurve 
[in] Path curve.  
OdDbLoftOptions& loftOptions 
[in] Options for lofting.  
bool isSolid = true 
[in] Boolean flag.
 

Returns eOk if successful or an appropriate error code in the other case.

Creates a lofted object from the given curves. 

 

Lofting parameters can be passed with the loftOptions parameter.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.