ViewCPlane

Returns or sets the specified view's construction plane.

Syntax

rhinoscriptsyntax.ViewCPlane (view=None, plane=None)

rhinoscript.view.ViewCPlane (view=None, plane=None)

Parameters

view

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

plane

Optional.  The new construction plane.

Returns

Plane

If a construction plane is not specified, the current construction plane if successful.

Plane

If a construction plane is specified, the previous construction plane if successful.

Example

import rhinoscriptsyntax as rs

origin = rs.GetPoint("CPlane origin")

if origin:

    plane = rs.ViewCPlane()

    plane = rs.MovePlane(plane,origin)

    rs.ViewCPlane(None, plane)

Also See

ViewCameraLens

ViewCameraTarget

ViewDisplayModes

ViewProjection

ViewSize