Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbSweptSurface::createSweptSurface Method
Syntax
C++
virtual OdResult createSweptSurface(OdDbEntity* pSweepEnt, OdDbEntity* pPathEnt, OdDbSweepOptions& sweepOptions, const OdStreamBuf * pSat = 0);

Creates a swept surface by sweeping a specified curve, region, or planar surface along a specified path curve. 

 

Parameters
Description
pSweepEnt
[in] A pointer to the curve, region, or planar surface to be swept.
pPathEnt
[in] A pointer to the curve entity that specifies the sweeping path along which a specified entity should to be swept.
sweepOptions
[in] Additional sweep options.

Returns eOk if a surface was successfully created or eFail for other modelers. If specified sweep information is not valid, returns eInvalidInput. Returns eFail if the surface cannot be created.

Additional parameters, such as a draft angle, can be set through the sweepOptions parameter.

Copyright © 2002-2022. Open Design Alliance All rights reserved.