hwI3DViewCtrl RotateLeft

Rotates the model left about an axis oriented vertically across the screen.

Syntax

viewControl_handle RotateLeft ?angle?

Application

HyperView Tcl Modify

Description

This command allows you to rotate the model left about an axis oriented vertically 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 left by 15 degrees:
 hwi OpenStack;
    variable t [expr rand()];

    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 RotateLeft 15;
    }
    hwi CloseStack;

Error

Returns HW_IllegalOp if the client window does not support this command.