RotateView

Rotates a view. See the RotateView command in the Rhino help file for more information.

Syntax

rhinoscriptsyntax.RotateView (view=None, direction=0, angle=None)

rhinoscript.view.RotateView (view=None, direction=0, angle=None)

Parameters

view

Optional.  String or Guid.  The title or identifier of the view.  If omitted, the current active view is used.

direction

Optional. Number, The direction to rotate the view, where 0 = right, 1 = left, 2 = down, and 3 = up. The default is 0 = right.

angle

Optional.  Number.  The angle to rotate. If omitted, the angle of rotation is specified by the "Increment in divisions of a circle" parameter specified in Options command's View tab.

Returns

Boolean

True or False indicating success or failure.

Example

import rhinoscriptsyntax as rs

rs.RotateView( angle=90.0 )

Also See

RotateCamera

TiltView