Returns the orientation of a view's camera.
rhinoscriptsyntax.ViewCameraPlane ( view=None )
rhinoscript.view.ViewCameraPlane ( view=None )
view |
Optional. String or Guid. The title or identifier of the view. If omitted, the current active view is used. |
Plane |
The view's camera plane if successful. |
None |
If not successful, or on error. |
import rhinocsriptsyntax as rs
view = rs.CurrentView()
target = rs.ViewTarget(view)
camplane = rs.ViewCameraPlane(view)
plane = rs.MovePlane(camplane, target)
rs.ViewCPlane( view, plane )