Hide Table of Contents
SweepEntitiesToSurface Method (ISketchManager)
[out]
Array of ISweptSurfaces

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( _
   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 SweepEntitiesToSurface( 
   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 
SweepEntitiesToSurface( 
   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 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 
) 
C++ 
DSRESULT SweepEntitiesToSurface( 
   const dsObjectPtrArray& EntitiesArray,
   dsObject* Obj,
   bool Alignment,
   bool Bank,
   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
[out] or Return Value
Array of ISweptSurfaces

Example

 

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:   SweepEntitiesToSurface 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) 2021 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.