Creates a swept solid by sweeping a curve, region, or planar surface along the specified path.
Parameters
Parameters
Description
pSweepEnt
[in] Pointer to the face entity for sweeping.
pPathEnt
[in] Pointer to the curve entity that determines the path to sweep along.
sweepOptions
[in] Sweep options.
Returns
eOk if successful or an appropriate error code in other case.
Remarks
To set optional sweep parameters (for example, draft angle) use the sweepOptions parameter. The default value for the alignment option of OdDbSweepOptions (returned by the align() method) is kNoAlignment. Set it to kAlignSweepEntityToPath before calling this method. This method is implemented for Spatial modeler and partially for ModelerGeometry. The ModelerGeometry implementation at almost all cases returns the eNotImplementedYet status.