Hide Table of Contents
InsertVaryInstanceIncrement Method (IFeatureManager)

Applies the specified increment to the specified pattern instance dimension or spacing.

.NET Syntax

Visual Basic (Declaration) 
Function InsertVaryInstanceIncrement( _
   ByVal DName As System.String, _
   ByVal PatternType As System.Integer, _
   ByVal IncrementType As System.Integer, _
   ByVal Direction As System.Integer, _
   ByVal IncrementValue As System.Double _
) As System.Boolean
Visual Basic (Usage) 
Dim instance As IFeatureManager
Dim DName As System.String
Dim PatternType As System.Integer
Dim IncrementType As System.Integer
Dim Direction As System.Integer
Dim IncrementValue As System.Double
Dim value As System.Boolean
value = instance.InsertVaryInstanceIncrement(DName, PatternType, IncrementType, Direction, IncrementValue)
System.bool InsertVaryInstanceIncrement( 
   System.string DName,
   System.int PatternType,
   System.int IncrementType,
   System.int Direction,
   System.double IncrementValue
System.bool InsertVaryInstanceIncrement( 
&   System.String^ DName,
&   System.int PatternType,
&   System.int IncrementType,
&   System.int Direction,
&   System.double IncrementValue



If IncrementType is... Then set DName to...
1 Name of the pattern instance dimension to increment
2 "Spacing Increment"


Type of pattern (see Remarks):

  • 2 = linear
  • 4 = circular

Type of increment:

  • 1 = dimension
  • 2 = spacing

Direction in which to apply the dimension or spacing increment. 

If PatternType is... Then set Direction to...
  • 0 = direction 1
  • 1 = direction 2
4 0 = direction 1

Value with which to increment the pattern instance dimension or spacing

Return Value

True if the increment is applied successfully, false if not



To vary the spacings or dimensions of pattern instances:

  1. Call this method multiple times to increment multiple dimensions or spacings of pattern instances.
  2. Call IFeatureManager::InsertVaryInstanceOverride multiple times to override multiple dimensions or spacings of pattern instances.

If PatternType is... Call...
2 IFeatureManager::FeatureLinearPattern3
4 IFeatureManager::FeatureCircularPattern4


See Also


SolidWorks 2013 FCS, Revision Number 21.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

Subject:   Feedback on Help Topics
Page:   InsertVaryInstanceIncrement Method (IFeatureManager)
*   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:


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

Web Help Content Version: API Help (English only) 2013 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.