Hide Table of Contents
FeatureLinearPattern2 Method (IFeatureManager)

Obsolete. Superseded by IFeatureManager::FeatureLinearPattern3.

.NET Syntax

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