Hide Table of Contents
InsertMoveFace3 Method (IFeatureManager)

Moves the selected faces on a solid or surface model.

.NET Syntax

Visual Basic (Declaration) 
Function InsertMoveFace3( _
   ByVal MoveType As System.Integer, _
   ByVal ReverseDir As System.Boolean, _
   ByVal Angle As System.Double, _
   ByVal Distance As System.Double, _
   ByVal TranslationParams As System.Object, _
   ByVal RotationParams As System.Object, _
   ByVal EndConditionType As System.Integer, _
   ByVal OffsetDistance As System.Double _
) As Feature
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)
C# 
Feature InsertMoveFace3( 
   System.int MoveType,
   System.bool ReverseDir,
   System.double Angle,
   System.double Distance,
   System.object TranslationParams,
   System.object RotationParams,
   System.int EndConditionType,
   System.double OffsetDistance
)
C++/CLI 
Feature^ InsertMoveFace3( 
&   System.int MoveType,
&   System.bool ReverseDir,
&   System.double Angle,
&   System.double Distance,
&   System.Object^ TranslationParams,
&   System.Object^ RotationParams,
&   System.int EndConditionType,
&   System.double 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

Before calling this method, you need to select specific entities.

If MoveFaceType is swMoveFaceType_e... And EndConditionType is swEndConditions_e... Call IModelDocExtension::SelectByID2 to select... With mark...
Any option Any option Face to move 1
swMoveFaceTypeTranslate Any option Direction reference (plane, planar face, linear edge, or reference axis) 2
swMoveFaceTypeTranslate
  • swEndCondUpToVertex
  • swEndCondUpToSurface
  • swEndCondOffsetFromSurface
  • swEndCondUpToBody
  • Up-to vertex
  • Up-to surface
  • Offset-from surface
  • Up-to body
8
swMoveFaceTypeRotate N/A Axis reference (linear edge or reference axis) 4

If you specify a value for TranslationParms or RotationParams, then do not specify a value for Distance or Angle, respectively. The translation or rotation parameters are calculated internally when Distance or Angle is specified.

 

See Also

Availability

SOLIDWORKS 2015 FCS, Revision Number 23.0


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   InsertMoveFace3 Method (IFeatureManager)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:



x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2015 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.