Hide Table of Contents
FeatureLinearPattern2 Method (IFeatureManager)

Inserts a linear-pattern feature.

.NET Syntax

Visual Basic (Declaration) 
Function FeatureLinearPattern2( _
   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 DName1 As String, _
   ByVal DName2 As String, _
   ByVal GeometryPattern As Boolean _
) As Feature
Visual Basic (Usage) 
Dim instance As IFeatureManager
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 DName1 As String
Dim DName2 As String
Dim GeometryPattern As Boolean
Dim value As Feature
 
value = instance.FeatureLinearPattern2(Num1, Spacing1, Num2, Spacing2, FlipDir1, FlipDir2, DName1, DName2, GeometryPattern)
C# 
Feature FeatureLinearPattern2( 
   int Num1,
   double Spacing1,
   int Num2,
   double Spacing2,
   bool FlipDir1,
   bool FlipDir2,
   string DName1,
   string DName2,
   bool GeometryPattern
)
C++/CLI 
Feature^ FeatureLinearPattern2( 
&   int Num1,
&   double Spacing1,
&   int Num2,
&   double Spacing2,
&   bool FlipDir1,
&   bool FlipDir2,
&   String^ DName1,
&   String^ DName2,
&   bool GeometryPattern
) 

Parameters

Num1
Number of instances of the linear pattern in Direction 1, including the original
Spacing1
Spacing between each instance of the linear pattern in Direction 1 in meters
Num2
Number of instances of the linear pattern in Direction 2, including the original
Spacing2
Spacing between each instance of the linear pattern in Direction 2 in meters
FlipDir1
True if you want to reverse the direction the linear pattern in Direction 1, false if not
FlipDir2
True if you want to reverse the direction of the linear pattern in Direction 2, false if not
DName1
Name of the dimension defining Direction 1
DName2
Name of the dimension defining Direction 2
GeometryPattern
True to use geometry pattern, false to not

Return Value

Feature

Remarks

If...

To select a feature, use...

To select a component, use...

Using IModelDocExtension::SelectByID2 to select features and components, ordered selection of the features and components is required

  • 1 and 2 to mark the directions

  • 4 to mark the features to pattern

  • 1 to mark the components to pattern

  • 2 and 4 to mark the directions

Directly selecting a feature or component

IFeature::Select2

ISelectData::Mark and Component2::Select3

 

See Also

Availability

SolidWorks 2005 FCS, Revision Number 13.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:   FeatureLinearPattern2 Method (IFeatureManager)
*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.