Creates a swept surface using the specified 2D entities, open sweep path, base point, scale, banking, and twist angle.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SweepEntitiesToSurface( _
VARIANT EntitiesArray As System.Object, _
IDispatch* Obj As System.Object, _
VARIANT_BOOL Alignment As System.Boolean, _
VARIANT_BOOL Bank As System.Boolean, _
VARIANT_BOOL UseBasePoint As System.Boolean, _
DOUBLE BasePointX As System.Double, _
DOUBLE BasePointY As System.Double, _
DOUBLE BasePointZ As System.Double, _
DOUBLE Scale As System.Double, _
DOUBLE TwistAngle As System.Double _
) As System.Object |
JavaScript | |
---|
SweepEntitiesToSurface(
EntitiesArray : System.Object,
Obj : System.Object,
Alignment : Boolean,
Bank : Boolean,
UseBasePoint : Boolean,
BasePointX : Number,
BasePointY : Number,
BasePointZ : Number,
Scale : Number,
TwistAngle : Number,\n) : Array |
COM native C++ | |
---|
HRESULT SweepEntitiesToSurface(
VARIANT EntitiesArray,
,
dsObject* Obj,
,
bool Alignment,
,
bool Bank,
,
bool UseBasePoint,
,
double BasePointX,
,
double BasePointY,
,
double BasePointZ,
,
double Scale,
,
double TwistAngle
,
VARIANT* SweptSurfaceArray
) |
C++ | |
---|
DSRESULT SweepEntitiesToSurface(
VARIANT EntitiesArray,
,
IDispatch* Obj,
,
VARIANT_BOOL Alignment,
,
VARIANT_BOOL Bank,
,
VARIANT_BOOL UseBasePoint,
,
DOUBLE BasePointX,
,
DOUBLE BasePointY,
,
DOUBLE BasePointZ,
,
DOUBLE Scale,
,
DOUBLE TwistAngle
,
VARIANT* SweptSurfaceArray
) |
Parameters
- EntitiesArray
- Array of 2D entities to sweep
- Obj
- Array of non-closed path entities
- Alignment
- True to align the sweep objects perpendicular to the path before sweep, false to not
- Bank
- True to allow banking for a non-planar sweep path, false to not
- UseBasePoint
- True to specify a base point for the entities to be swept, false to not
- BasePointX
- X-coordinate of base point; valid only if UseBasePoint is true
- BasePointY
- Y-coordinate of base point; valid only if UseBasePoint is true
- BasePointZ
- Z-coordinate of base point; valid only if UseBasePoint is true
- Scale
- Scale factor for the entities to be swept
- TwistAngle
- Angle in radians of twist for the entities to be swept along the total length of the path
Parameters
- SweptSurfaceArray[out] or Return Value
- Array of ISweptSurfaces
Example
See Also
Availability
DraftSight 2020 SP0