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

3.6.6.1. Translate

Description

Represents the motion of a solid along a vector by a specified distance.

Parameters

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

CoordinateSystem – The coordinate system in which the direction is defined. Defaults to local coordinate system of the solid. (ISolidTranslation/CoordinateSystem)

Direction – Direction in which to move the solid. This is a unitless vector and its magnitude is irrelevant. (ISolidTranslation/Direction)

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

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

Example(s)

User Interface Button

Command Details

Mouse click order is:
1. Select Solid(s)
2. Start Point
3. End Point
See command hint for detailed instructions.

Example Creation Script

SolidTranslation_2 = Solid_1.Get_ISolid().Translate("Translation_1", "0.625473872252278, 0.759503987734909, 0.178706820643508", "0.0223830292855994", "Local")

Scripting Interfaces

“ISolidTranslation”
“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