Returns the plane geometry of the specified named construction plane.
rhinoscriptsyntax.NamedCPlane (name)
rhinoscript.view.NamedCPlane (name)
name |
Required. String. The name of a named construction plane. |
Plane |
A plane for the named cplane |
None |
If not successful, or on error. |
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