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 Double
Dim RotationParams As Double
Dim value As Feature
value = instance.IInsertMoveFace2(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
- in-process, unmanaged C++: Pointer to an array three doubles for delta x, delta y, and delta z direction translation
- VBA, VB.NET, C#, and C++/CLI: Not supported
See In-process Methods for details about this type of method.
- RotationParams
- in-process, unmanaged C++: Pointer to an array six doubles:
- first three doubles are the x, y, and z rotation origin
- last three doubles are the x, y, and z rotation angle
- VBA, VB.NET, C#, and C++/CLI: Not supported
See In-process Methods for details about this type of method.
Return Value
Pointer to the
IFeature object
Remarks
See Also
Availability
SolidWorks 2010 FCS, Revision Number 18.0