NamedCPlane

Returns the plane geometry of the specified named construction plane.

Syntax

rhinoscriptsyntax.NamedCPlane (name)

rhinoscript.view.NamedCPlane (name)

Parameters

name

Required.  String.  The name of a named construction plane.

Returns

Plane

A plane for the named cplane

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

names = rs.NamedCPlanes()

if names:

    for name in names:

        plane = rs.NamedCPlane(name)

        print "CPlane name:" + name

        print "CPlane origin:" + plane.Origin

        print "CPlane x-axis:" + plane.Xaxis

        print "CPlane y-axis:" + plane.Yaxis

        print "CPlane z-axis:" + plane.Zaxis

Also See

AddNamedCPlane

DeleteNamedCPlane

NamedCPlanes

RestoreNamedCPlane