Gets the index of the pattern instance in the FeatureManager design tree in the variable pattern feature.
.NET Syntax
| Visual Basic (Declaration) | |
|---|
Function GetInstanceIndex( _
ByVal InstanceName As System.String _
) As System.Integer |
| Visual Basic (Usage) | |
|---|
Dim instance As IDimPatternFeatureData
Dim InstanceName As System.String
Dim value As System.Integer
value = instance.GetInstanceIndex(InstanceName) |
| C# | |
|---|
System.int GetInstanceIndex(
System.string InstanceName
) |
| C++/CLI | |
|---|
System.int GetInstanceIndex(
& System.String^ InstanceName
) |
Parameters
- InstanceName
- Name of the pattern instance (see Remarks)
Return Value
Index of InstanceName in the FeatureManager design tree
Remarks
See Also
Availability
SOLIDWORKS 2015 FCS, Revision Number 23.0