hwI3DViewCtrl GetOrientation

Finds the orientation of the plot.

Syntax

hwI3DViewControl_handle GetOrientation

Application

HyperWorks Tcl Modify

Description

This command gets the orientation (positioning) of the 3D plot, outputting six numbers: the first three numbers are the translation of the 3D plot from the origin of x, y, and z, and the last three numbers are the three Euler angles representing the rotation about the Z, X, and Z axes, respectively.

Example

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

Error

Returns success (the orientation) or an error message.

Keywords

HyperWorks

3D plot

Tcl

Modify