Moves the selected faces on a solid or surface model.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As IFeatureManager
Dim MoveType As System.Integer
Dim ReverseDir As System.Boolean
Dim Angle As System.Double
Dim Distance As System.Double
Dim TranslationParams As System.Object
Dim RotationParams As System.Object
Dim EndConditionType As System.Integer
Dim OffsetDistance As System.Double
Dim value As Feature
value = instance.InsertMoveFace3(MoveType, ReverseDir, Angle, Distance, TranslationParams, RotationParams, EndConditionType, OffsetDistance) |
Parameters
- MoveType
- Type of move as defined in swMoveFaceType_e
- ReverseDir
- True to reverse the direction, false to not
- Angle
- Angle at which to draft the faces; valid only if MoveType is swMoveFaceType_e.swMoveFaceTypeRotate (see Remarks)
- Distance
Distance to translate or offset the faces; valid only if MoveType is one of the following:
- swMoveFaceType_e.swMoveFaceTypeOffset
- swMoveFaceType_e.swMoveFaceTypeTranslate and EndConditionType is swEndConditions_e.swEndCondBlind (see Remarks)
- TranslationParams
- Array of three doubles for the delta x, delta y, and delta z direction translation (see Remarks)
- 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
(see Remarks)
- EndConditionType
End condition as defined in swEndConditions_e; valid only if MoveType is swMoveFaceType_e.swMoveFaceTypeTranslate
Only the following end condition types are valid:
- swEndConditions_e.swEndCondBlind
- swEndConditions_e.swEndCondUpToVertex
- swEndConditions_e.swEndCondUpToSurface
- swEndConditions_e.swEndCondOffsetFromSurface
- swEndConditions_e.swEndCondUpToBody
- OffsetDistance
Offset from surface; valid only if MoveType is swMoveFaceType_e.swMoveFaceTypeTranslate and EndConditionType is swEndConditions_e.swEndCondOffsetFromSurface
Return Value
IFeature
Example
Remarks
See Also
Availability
SOLIDWORKS 2015 FCS, Revision Number 23.0