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) |
Parameters
- DName
If IncrementType is... |
Then set DName to... |
1 |
Name of the pattern instance dimension to increment |
2 |
"Spacing Increment" |
- PatternType
Type of pattern (see Remarks):
- 2 = linear
- 4 = circular
- 256 = table-driven
- IncrementType
Type of increment:
- 1 = dimension
- 2 = spacing
- Direction
Direction in which to apply the dimension or spacing increment.
If PatternType is... |
Then set Direction to... |
2 |
|
4 |
0 = direction 1 |
- IncrementValue
- Value with which to increment the pattern instance dimension or spacing
Return Value
True if the increment is applied successfully, false if not
Example
Remarks
See Also
Availability
SOLIDWORKS 2013 FCS, Revision Number 21.0