Hide Table of Contents
SweepEntitiesToSolid Method (ISketchManager)
[out]
Array of ISweeps

Creates a swept solid using the specified 2D entities, closed sweep path, base point, scale, banking, and twist angle.

.NET Syntax

Visual Basic (Declaration) 
Function SweepEntitiesToSolid( _
   const dsObjectPtrArray& EntitiesArray As System.Object, _
   dsObject* Obj As System.Object, _
   bool Alignment As System.Boolean, _
   bool Bank As System.Boolean, _
   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
C# 
System.object SweepEntitiesToSolid( 
   System.object EntitiesArray,
   System.object Obj,
   System.bool Alignment,
   System.bool Bank,
   System.bool UseBasePoint,
   System.double BasePointX,
   System.double BasePointY,
   System.double BasePointZ,
   System.double Scale,
   System.double TwistAngle
)
JavaScript 
SweepEntitiesToSolid( 
   EntitiesArray : Array,
   Obj : Object,
   Alignment : Boolean,
   Bank : Boolean,
   UseBasePoint : Boolean,
   BasePointX : Number,
   BasePointY : Number,
   BasePointZ : Number,
   Scale : Number,
   TwistAngle : Number
) : dsObject
COM native C++ 
HRESULT SweepEntitiesToSolid( 
   VARIANT EntitiesArray,
   IDispatch* Obj,
   VARIANT_BOOL Alignment,
   VARIANT_BOOL Bank,
   VARIANT_BOOL UseBasePoint,
   DOUBLE BasePointX,
   DOUBLE BasePointY,
   DOUBLE BasePointZ,
   DOUBLE Scale,
   DOUBLE TwistAngle,
   VARIANT*SweepArray 
) 
C++ 
DSRESULT SweepEntitiesToSolid( 
   const dsObjectPtrArray& EntitiesArray,
   dsObject* Obj,
   bool Alignment,
   bool Bank,
   bool UseBasePoint,
   double BasePointX,
   double BasePointY,
   double BasePointZ,
   double Scale,
   double TwistAngle,
   VARIANT*SweepArray 
) 

Parameters

EntitiesArray
Array of 2D entities to sweep
Obj
Array of 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
[out] or Return Value
Array of ISweeps

Example

Remarks

See the 3D Modeling > Creating Solids > Creating 3D Solids by Sweeping 2D Entities Along a Path topic in the DraftSight (Premium & Enterprise Plus) user-interface help.
 

See Also

Availability

DraftSight 2020 SP0


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   SweepEntitiesToSolid Method (ISketchManager)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2022 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.