hwI3DViewCtrl RotateUp
Rotates the model up about an axis oriented horizontally across the screen.
Syntax
viewControl_handle RotateUp?angle?
Application
HyperView Tcl Modify
Description
This command allows you to rotate the model up about an axis oriented horizontally across the screen. The rotation angle, in degrees, can be specified. If it is not specified, the default rotation angle set using the SetRotationAngle command is used.
Inputs
- angle
- The rotation angle, in degrees.
Example
hwi OpenStack;
set t [::post::GetT];
catch {
hwi GetSessionHandle sess$t;
sess$t GetProjectHandle proj$t;
proj$t GetPageHandle page$t [proj$t GetActivePage];
page$t GetWindowHandle win1$t 1;
page$t GetWindowHandle win2$t 2;
win1$t GetViewControlHandle vc1$t;
vc1%t RotateDown 15;
}
hwi CloseStack;
Error
Returns HW_IllegalOp if the client window does not support this command.