hwI3DViewCtrl GetRotationAngle

Finds the angle of rotation.

Syntax

hwI3DViewControl_handle GetRotationAngle

Application

HyperWorks Tcl Modify

Description

This command finds the angle of rotation, or a numerical value of how much the plot is rotated by, that the following functions use: RotateClockwise, RotateCounterClockwise, RotateUp, v, RotateLeft and RotateRight. The angle of rotation is preset at 1 degree. However, you can set a different angle of rotation with the function SetRotationAngle.

Example

hwi OpenStack;
hwi GetSessionHandle sess;
sess GetProjectHandle proj;
proj GetPageHandle p1 1;
p1 GetWindowHandle w1 1;
w1 GetViewControlHandle vc
vc GetRotationAngle

Error

Returns a numerical value or an error code.

Keywords

HyperWorks

3D plot

Tcl

Modify