Applies the specified override to the specified dimension or spacing of the specified pattern instance.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As IFeatureManager
Dim DName As System.String
Dim PatternType As System.Integer
Dim OverrideType As System.Integer
Dim Direction As System.Integer
Dim InstanceRowIndex As System.Integer
Dim InstanceColumnIndex As System.Integer
Dim OverrideValue As System.Double
Dim value As System.Boolean
value = instance.InsertVaryInstanceOverride(DName, PatternType, OverrideType, Direction, InstanceRowIndex, InstanceColumnIndex, OverrideValue) |
Parameters
- DName
-
If OverrideType is... |
Then set DName to... |
1 |
Name of the pattern instance dimension to override |
2 |
"Spacing Increment" |
- PatternType
Type of pattern (see Remarks):
- 2 = linear
- 4 = circular
- 256 = variable
- OverrideType
Type of increment override:
- 1 = dimension
- 2 = spacing
- Direction
Direction in which to apply the spacing override.
If OverrideType is ... |
Then set Direction to ... |
2 |
|
1 |
-1 |
- InstanceRowIndex
- 0 < row index of the instance to modify < number of instances per row
- InstanceColumnIndex
- 0 < column index of the instance to modify < number of instances per column; valid only for PatternType = 2
- OverrideValue
- Value to override the current value of the dimension or spacing of the specified instance
Return Value
True if the override is applied successfully, false if not
Example
Remarks
See Also
Availability
SOLIDWORKS 2013 FCS, Revision Number 21.0