API Reference > OdDb Classes > OdDbExtrudedSurface Class > OdDbExtrudedSurface Methods > OdDbExtrudedSurface::setExtrude Method
OdDbExtrudedSurface::setExtrude Method
Syntax
C++
OdResult setExtrude(const OdGeVector3d& sweepVec, const OdDbSweepOptions& sweepOptions);

Returns eOk if extrude data is successfully set or an appropriate error code otherwise.

Sets all data that defines the parameters of an extruded surface. 

sweepVec [in] A new extrusion vector. sweepOptions [in] An OdDbSweepOptions object containing new option values. 

 

This method is implemented only for Spatial modeler and returns eNotImplementedYet status for other modelers.

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