hwI3DViewCtrl RotateZ

Rotates the 3D plot along the z axis.

Syntax

hwI3DViewControl_handle RotateZ angle

Application

HyperWorks Tcl Modify

Description

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

Inputs

angle
A user-selected number that represents the angle that you want to rotate the 3D plot around the z 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 RotateZ 45

Error

Returns success (0) or an error code.

Keywords

HyperWorks

3D plot

Tcl

Modify