Go to www.awrcorp.com
Back to search page Click to download printable version of this guide.

3.6.6.6. Translate Faces

Description

Represents the motion of one or more faces of a solid along a vector. The vector can be normal to the first face chosen, or it can be normal to each of the chosen faces.

Parameters

Label – A unique name that identifies the transformation. (ISolidOperation/Label)

Behavior – Interpretation of the translation vector. Choices are  Normal to First Face and Normal To Each Face. (ISubEntityTranslation/Behavior)

Distance - [LENGTH] – Magnitude of translation. (ISubEntityTranslation/Distance)

Include - Indicates if the operation is included in the regeneration process. (ISolidOperation/Include)

Example(s)

Translate a single face. Note face selection and translation vector:

Translate 3 faces along a vector normal to the first chosen face. Note face selection order and translation vector:

Translate 3 faces along a vector normal to each face. Note face selection order and translation vector:

User Interface Button

Command Details

Mouse click order is:
1. Select Faces. Hold Ctrl key for multiple selection. Translation vector is normal to first selected face.
2. On the Structure ribbon, in the Entity Modification group, click Modify Faces and choose Translate from the drop-down menu.
3. Drag mouse to translate.
See command hint for detailed instructions.

Example Creation Script

FaceTranslation_1 = Solid_1.Get_ISolid().TranslateFace("Face Translation_1", "Normal To First Face", (0, 0, 0), (3, 2, 4), "0.005")

Scripting Interfaces

“ISubEntityTranslation”
“ISolidCreationOperation”
“ISolidOperation”

Please send email to awr.support@ni.com if you would like to provide feedback on this article. Please make sure to include the article link in the email.

Legal and Trademark Notice