Hide Table of Contents
InsertMoveFace2 Method (IFeatureManager)

Obsolete. Superseded by IFeatureManager::InsertMoveFace3.

.NET Syntax

Visual Basic (Declaration) 
Function InsertMoveFace2( _
   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 _
) 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 value As Feature
value = instance.InsertMoveFace2(MoveType, ReverseDir, Angle, Distance, TranslationParams, RotationParams)
Feature InsertMoveFace2( 
   System.int MoveType,
   System.bool ReverseDir,
   System.double Angle,
   System.double Distance,
   System.object TranslationParams,
   System.object RotationParams
Feature^ InsertMoveFace2( 
&   System.int MoveType,
&   System.bool ReverseDir,
&   System.double Angle,
&   System.double Distance,
&   System.Object^ TranslationParams,
&   System.Object^ RotationParams


Type of move:
  • 0 = Offset

  • 1 = Translate

  • 2 = Rotate

True to reverse the direction, false to not

If MoveType is Rotate, then specify the angle at which to draft the faces


Distance to offset or translate the faces

Array of three doubles for the delta x, delta y, and delta z direction translation

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


Use the following marks with IModelDocExtension::SelectByID2:

  • 1 = face

  • 2 = direction reference (plane, planar face, linear edge, or reference axis) for translate

  • 4 = axis reference (linear edge or reference axis) for rotate

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


SOLIDWORKS 2010 FCS, Revision Number 18.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

Subject:   Feedback on Help Topics
Page:   InsertMoveFace2 Method (IFeatureManager)
*   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:


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

Web Help Content Version: API Help (English only) 2018 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.