hwI3DViewCtrl RotateDown

Rotates the model down about an axis oriented horizontally across the screen.

Syntax

viewControl_handle RotateDown?angle?

Application

HyperView Tcl Modify

Description

This command allows you to rotate the model down 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

To rotate the model down by 15 degrees:
 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.