Hide Table of Contents
FeatureCurvePattern Method (IModelDoc2)

Creates a curve-driven pattern feature.

.NET Syntax

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

Example

 

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) 2018 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.