Hide Table of Contents
FeatureChainPattern Method (IFeatureManager)

Using the selected entities, inserts one of these chain pattern features:

  • distance
  • distance linkage
  • connected linkage

.NET Syntax

Visual Basic (Declaration) 
Function FeatureChainPattern( _
   ByVal PitchMethod As System.Integer, _
   ByVal FlipDirection As System.Boolean, _
   ByVal FillPath As System.Boolean, _
   ByVal Number As System.Integer, _
   ByVal Spacing As System.Double, _
   ByVal GroupOneFlipPlane As System.Boolean, _
   ByVal GroupTwoChain As System.Boolean, _
   ByVal GroupTwoFlipPlane As System.Boolean, _
   ByVal AlignMethod As System.Integer, _
   ByVal Options As System.Integer _
) As Feature
Visual Basic (Usage) 
Dim instance As IFeatureManager
Dim PitchMethod As System.Integer
Dim FlipDirection As System.Boolean
Dim FillPath As System.Boolean
Dim Number As System.Integer
Dim Spacing As System.Double
Dim GroupOneFlipPlane As System.Boolean
Dim GroupTwoChain As System.Boolean
Dim GroupTwoFlipPlane As System.Boolean
Dim AlignMethod As System.Integer
Dim Options As System.Integer
Dim value As Feature
 
value = instance.FeatureChainPattern(PitchMethod, FlipDirection, FillPath, Number, Spacing, GroupOneFlipPlane, GroupTwoChain, GroupTwoFlipPlane, AlignMethod, Options)
C# 
Feature FeatureChainPattern( 
   System.int PitchMethod,
   System.bool FlipDirection,
   System.bool FillPath,
   System.int Number,
   System.double Spacing,
   System.bool GroupOneFlipPlane,
   System.bool GroupTwoChain,
   System.bool GroupTwoFlipPlane,
   System.int AlignMethod,
   System.int Options
)
C++/CLI 
Feature^ FeatureChainPattern( 
&   System.int PitchMethod,
&   System.bool FlipDirection,
&   System.bool FillPath,
&   System.int Number,
&   System.double Spacing,
&   System.bool GroupOneFlipPlane,
&   System.bool GroupTwoChain,
&   System.bool GroupTwoFlipPlane,
&   System.int AlignMethod,
&   System.int Options
) 

Parameters

PitchMethod
Pitch method as defined in swChainPatternPitchMethod_e; available for all types of chain patterns
FlipDirection
True to reverse the direction of the chain pattern, false to not; available for all types of chain patterns
FillPath
True to automatically set the number of pattern instances to fill the path, false to not; available for all types of chain patterns and when EqualSpacing is false for distance and linkage distance chain patterns
Number
Number of pattern instances; available for all types of chain patterns when FillPath is false
Spacing
Distance between the pattern instances when EqualSpacing is false; only available for distance and linkage distance chain patterns when EqualSpacing is false
GroupOneFlipPlane
True to flip the path alignment plane for Chain Group 1, false to not; available for all types of chain patterns
GroupTwoChain
True to set the component to pattern for Chain Group 2, false to not; only available for connected linkage chain patterns
GroupTwoFlipPlane
True to flip the path alignment plane for Chain Group 2, false to not; only available for connected linkage chain patterns
AlignMethod
Alignment method as defined in swChainPatternAlignment_e; only available for distance and linkage distance chain patterns
Options
Option as defined in swChainPatternOptions_e; available for all types of chain patterns

Return Value

Chain pattern feature

Example

Remarks

You must pre-select the entities for the chain pattern feature.
Entity to select Corresponding Chain Pattern PropertyManager control Selection mark Number of selections
Path 2 1 for all types of chain patterns
Assembly component Chain Group 1 Component to Pattern 1 1 for all types of chain patterns
Chain Group 1 Path Link 1

256

1 for all types of chain patterns
  • Cylindrical face,
  • Circular or linear edge,
  • Sketch point,
  • Vertex, or
  • Reference axis
Chain Group 1 Path Link 2 512
  • 1 for distance linkage or connected linkage
  • None for distance

Component plane or planar face

Chain Group 1 Path Alignment Plane 16384 1 for all types of chain patterns

Assembly component

Chain Group 2 Component to Pattern

2048

  • 1 for connected linkage
  • None for distance or linkage distance
  • Cylindrical face,
  • Circular or linear edge,
  • Sketch point,
  • Vertex, or
  • Reference axis
Chain Group 2 Path Link 1 4096
  • 1 for connected linkage
  • None for distance or linkage distance
  • Cylindrical face,
  • Circular or linear edge,
  • Sketch point,
  • Vertex, or
  • Reference axis
Chain Group 2 Path Link 2 8192
  • 1 for connected linkage
  • None for distance or linkage distance

Component plane or planar face

Group 2 Path Alignment Plane 32768
  • 1 for connected linkage
  • None for distance or linkage distance
Assembly plane Face normal alignment 1024
  • 1 if the chain path is a sketch line 
  • None for all other types of paths

To set equal spacing between chain pattern instances, edit the chain pattern feature after creating it.

 

See Also

Availability

SOLIDWORKS 2016 FCS, Revision Number 24.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:   FeatureChainPattern 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) 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.