Moves the selected faces on a solid or surface model.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As IFeatureManager
Dim MoveType As Integer
Dim ReverseDir As Boolean
Dim Angle As Double
Dim Distance As Double
Dim TranslationParams As Object
Dim RotationParams As Object
Dim value As Feature
value = instance.InsertMoveFace2(MoveType, ReverseDir, Angle, Distance, TranslationParams, RotationParams)
|
Parameters
- MoveType
- Type of move:
-
0 = Offset
-
1 = Translate
-
2 = Rotate
- ReverseDir
- True to reverse the direction, false to not
- Angle
If MoveType is Rotate, then specify the angle at which to draft the faces
- Distance
Distance to offset or translate the faces
- TranslationParams
- Array of three doubles for the delta x, delta y, and delta z direction translation
- RotationParams
Array of six doubles:
- First three doubles are the x, y, and z rotation origin
- Last three doubles are the x, y, and z rotation angle
Return Value
Pointer to the
IFeature object
Example
Remarks
See Also
Availability
SolidWorks 2010 FCS, Revision Number 18.0