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

3.6.6.2. Rotate

Description

Represents the motion of a solid around an axis by a specified angle.

Parameters

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

Axis Point - [LENGTH] – A point on the axis of rotation. Defined in the solid's coordinate system. (ISolidRotation/AxisPoint)

Axis Direction – Direction of the axis of rotation. Defined in the solid's coordinate system. This is a unitless vector and its magnitude is irrelevant. (ISolidRotation/AxisDirection)

Angle - [PHASE] – Extent of the rotation. (ISolidRotation/Angle)

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. Axis Start Point
3. Axis End Point
See command hint for detailed instructions.

Example Creation Script

SolidRotation_2 = Solid_1.Get_ISolid().Rotate("Rotation_1", "-0.011, -0.011, 0", "0, 0, 1", "30")

Scripting Interfaces

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