Hide Table of Contents
PatternCircular Method (ISketchManager)

Creates a circular pattern of the specified entities.

.NET Syntax

Visual Basic (Declaration) 
Sub PatternCircular( _
   dsBasePatternOn_e BasePatternOn As dsBasePatternOn_e, _
   double AngleBetween As System.Double, _
   double FillAngle As System.Double, _
   long TotalNumber As System.Integer, _
   double ElementBasePointX As System.Double, _
   double ElementBasePointY As System.Double, _
   double AxisPointX As System.Double, _
   double AxisPointY As System.Double, _
   bool OrientElementsAboutAxis As System.Boolean, _
   const dsLongArray& EntityTypeLongArray As System.Object, _
   const dsObjectPtrArray& EntitiesArray As System.Object _
) 
C# 
void PatternCircular( 
   dsBasePatternOn_e BasePatternOn,
   System.double AngleBetween,
   System.double FillAngle,
   System.int TotalNumber,
   System.double ElementBasePointX,
   System.double ElementBasePointY,
   System.double AxisPointX,
   System.double AxisPointY,
   System.bool OrientElementsAboutAxis,
   System.object EntityTypeLongArray,
   System.object EntitiesArray
)
JavaScript 
PatternCircular( 
   BasePatternOn : String,
   AngleBetween : Number,
   FillAngle : Number,
   TotalNumber : Number,
   ElementBasePointX : Number,
   ElementBasePointY : Number,
   AxisPointX : Number,
   AxisPointY : Number,
   OrientElementsAboutAxis : Boolean,
   EntityTypeLongArray : Array,
   EntitiesArray : Array
)
COM native C++ 
HRESULT PatternCircular( 
   dsBasePatternOn_e BasePatternOn,
   DOUBLE AngleBetween,
   DOUBLE FillAngle,
   LONG TotalNumber,
   DOUBLE ElementBasePointX,
   DOUBLE ElementBasePointY,
   DOUBLE AxisPointX,
   DOUBLE AxisPointY,
   VARIANT_BOOL OrientElementsAboutAxis,
   VARIANT EntityTypeLongArray,
   VARIANT EntitiesArray
) 
C++ 
DSRESULT PatternCircular( 
   dsBasePatternOn_e BasePatternOn,
   double AngleBetween,
   double FillAngle,
   long TotalNumber,
   double ElementBasePointX,
   double ElementBasePointY,
   double AxisPointX,
   double AxisPointY,
   bool OrientElementsAboutAxis,
   const dsLongArray& EntityTypeLongArray,
   const dsObjectPtrArray& EntitiesArray
) 

Parameters

BasePatternOn
Base pattern type as defined in dsBasePatternOn_e
AngleBetween
Angle between the base points of the pattern entities and the center of the pattern; valid when dsBasePatternOn is dsBasePatternOn_e.AngleBetweenAndElementsNumbers or dsBasePatternOn_e.dsBasePatternOn_FillAngleAndAngleBetween; in radians
FillAngle
Positive or negative value for the fill angle; valid when BasePatternOn is dsBasePatternOn_e.dsBasePatternOn_FillAngleAndAngleBetween or dsBasePatternOn_e.dsBasePatternOn_FillAngleAndElementsNumber; in radians
TotalNumber
Total number of entities in the pattern, including the original entity
ElementBasePointX
x coordinate of the base point of the pattern
ElementBasePointY
y coordinate of the base point of the pattern
AxisPointX
x coordinate for the center point of the pattern
AxisPointY
y coordinate for the center point of the pattern
OrientElementsAboutAxis
True to rotate the entities as they are patterned, false to align the entities to the source entity
EntityTypeLongArray
Array of longs of the types of entities as defined in dsObjectType_e
EntitiesArray
Array of entities to pattern

Example

 

See Also

Availability

DraftSight V1R1.3


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:   PatternCircular 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.