Adds an explode step to the specified explode view of a multibody part.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As IConfiguration
Dim ExplodeView As System.String
Dim ExplDist As System.Double
Dim ExplDirIndex As System.Integer
Dim ReverseDir As System.Boolean
Dim AutoSpaceBodiesOnDrag As System.Boolean
Dim Error As System.Integer
Dim value As System.Object
value = instance.AddPartExplodeStep(ExplodeView, ExplDist, ExplDirIndex, ReverseDir, AutoSpaceBodiesOnDrag, Error) |
Parameters
- ExplodeView
- Name of the explode view to which to add this explode step
- ExplDist
- Distance in meters to move the selected bodies in this explode step
- ExplDirIndex
- Explode direction manipulator index as defined in swExplodeDirectionIndex_e (see Remarks)
- ReverseDir
- True to reverse the explode direction, false to not
- AutoSpaceBodiesOnDrag
- True to automatically space selected bodies on drag, false to not
- Error
- Error code as defined in swCreatePartExplodeStepError_e
Return Value
IPartExplodeStep
Example
Remarks
See Also
Availability
SOLIDWORKS 2020 FCS, Revision Number 28.0