hwI3DViewCtrl RotateX

Rotates the 3D plot along the x axis.

Syntax

hwI3DViewControl_handle RotateXangle

Application

HyperWorks Tcl Modify

Description

This command allows you to rotate or spin a 3D plot along the x axis.

Inputs

angle
A user-selected number that represents the angle that you want to rotate the 3D plot around the x axis. A negative number indicates a rotation in the negative direction, while a positive number indicates a rotation in the positive direction.

Example

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

Error

Returns success (0) or an error code.

Keywords

HyperWorks

3D plot

Tcl

Modify