ViewCameraPlane

Returns the orientation of a view's camera.

Syntax

rhinoscriptsyntax.ViewCameraPlane ( view=None )

rhinoscript.view.ViewCameraPlane ( view=None )

Parameters

view

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

Returns

Plane

The view's camera plane if successful.

None

If not successful, or on error.

Example

import rhinocsriptsyntax as rs

view = rs.CurrentView()

target = rs.ViewTarget(view)

camplane = rs.ViewCameraPlane(view)

plane = rs.MovePlane(camplane, target)

rs.ViewCPlane( view, plane )

Also See

ViewCamera

ViewTarget