Hide Table of Contents
FeatureCurvePattern Method (IModelDoc2)

Creates a curve-driven pattern feature.

.NET Syntax

Visual Basic (Declaration) 
Sub FeatureCurvePattern( _
   ByVal Num1 As Integer, _
   ByVal Spacing1 As Double, _
   ByVal Num2 As Integer, _
   ByVal Spacing2 As Double, _
   ByVal FlipDir1 As Boolean, _
   ByVal FlipDir2 As Boolean, _
   ByVal EqualSpacing1 As Boolean, _
   ByVal EqualSpacing2 As Boolean, _
   ByVal UseCentroid As Boolean, _
   ByVal AlignToSeed As Boolean, _
   ByVal OffsetCurve As Boolean, _
   ByVal PatternSeedOnly As Boolean _
) 
Visual Basic (Usage) 
Dim instance As IModelDoc2
Dim Num1 As Integer
Dim Spacing1 As Double
Dim Num2 As Integer
Dim Spacing2 As Double
Dim FlipDir1 As Boolean
Dim FlipDir2 As Boolean
Dim EqualSpacing1 As Boolean
Dim EqualSpacing2 As Boolean
Dim UseCentroid As Boolean
Dim AlignToSeed As Boolean
Dim OffsetCurve As Boolean
Dim PatternSeedOnly As Boolean
 
instance.FeatureCurvePattern(Num1, Spacing1, Num2, Spacing2, FlipDir1, FlipDir2, EqualSpacing1, EqualSpacing2, UseCentroid, AlignToSeed, OffsetCurve, PatternSeedOnly)
C# 
void FeatureCurvePattern( 
   int Num1,
   double Spacing1,
   int Num2,
   double Spacing2,
   bool FlipDir1,
   bool FlipDir2,
   bool EqualSpacing1,
   bool EqualSpacing2,
   bool UseCentroid,
   bool AlignToSeed,
   bool OffsetCurve,
   bool PatternSeedOnly
)
C++/CLI 
void FeatureCurvePattern( 
&   int Num1,
&   double Spacing1,
&   int Num2,
&   double Spacing2,
&   bool FlipDir1,
&   bool FlipDir2,
&   bool EqualSpacing1,
&   bool EqualSpacing2,
&   bool UseCentroid,
&   bool AlignToSeed,
&   bool OffsetCurve,
&   bool PatternSeedOnly
) 

Parameters

Num1

Number of instances in the first direction, including the original

Spacing1

Spacing in radians

Num2

Number of instances in the second direction

Spacing2

Spacing in radians

FlipDir1

True flips the direction of the first direction, false does not

FlipDir2

True flips the direction of the second direction, false does not

EqualSpacing1

True uses equal spacing between instances in the first direction, false does not

EqualSpacing2

True uses equal spacing between instances in the second direction, false does not

UseCentroid

True uses the centroid as reference point, false does not

AlignToSeed

True aligns the new objects with the seed feature, false does not

OffsetCurve

True offsets the curve, false transforms it

PatternSeedOnly

True uses only the seed feature in the second direction, false does not

 

See Also

Availability

SolidWorks 2001Plus FCS, Revision Number 10.0


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:   FeatureCurvePattern Method (IModelDoc2)
*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) 2012 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.