Hide Table of Contents
GetModifiedInstance Method (ILocalCircularPatternFeatureData)

Gets the modified values for the specified pattern instance in this circular component pattern feature.

.NET Syntax

Visual Basic (Declaration) 
Sub GetModifiedInstance( _
   ByVal Instance As System.Integer, _
   ByRef AngleFromSeed As System.Double, _
   ByRef OffsetFromNominal As System.Double _
) 
Visual Basic (Usage) 
Dim instance As ILocalCircularPatternFeatureData
Dim Instance As System.Integer
Dim AngleFromSeed As System.Double
Dim OffsetFromNominal As System.Double
 
instance.GetModifiedInstance(Instance, AngleFromSeed, OffsetFromNominal)
C# 
void GetModifiedInstance( 
   System.int Instance,
   out System.double AngleFromSeed,
   out System.double OffsetFromNominal
)
C++/CLI 
void GetModifiedInstance( 
&   System.int Instance,
&   [Out] System.double AngleFromSeed,
&   [Out] System.double OffsetFromNominal
) 

Parameters

Instance
Pattern instance number (see Remarks)
AngleFromSeed
Angle from the pattern seed
OffsetFromNominal
Degree offset from the nominal position of Instance

Remarks

To specify Instance, you can use ILocalCircularPatternFeatureData::GetModifiedInstances to learn which pattern instances are modified.

To calculate Instance:

Calculate:

      For a bi-directional pattern:

           I = n2 * (i - 1) + (j - 1)

      For a uni-directional pattern:

           I = i - 1

      where:

  • I = pattern instance number
  • n2 = number of instances in Direction 2
  • i = index for Direction 1
  • j = index for Direction 2

In the pattern's PropertyManager, find n2 in the Direction 2 > Spacing and Instances > Number of instances field and find [i,j] in the Modified Instances section.

 

See Also

Availability

SOLIDWORKS 2021 FCS, Revision Number 29


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:   GetModifiedInstance Method (ILocalCircularPatternFeatureData)
*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) 2021 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.