Adds a new named construction plane to the document.
rhinoscriptsyntax.AddNamedCPlane (cplane_name, view=None)
rhinoscript.view.AddNamedCPlane (cplane_name, view=None)
cplane_name |
Required. String. The name of the new named construction plane. |
view |
Optional. String or Guid. The title or identifier of the view from which to save the construction plane. If omitted, the current active view is used. |
String |
The name of the newly created named construction plane if successful. |
None |
If not successful, or on error. |
import rhinoscriptsyntax as rs
views = rs.ViewNames()
if views:
for view in views:
name = view + "_cplane"
rs.AddNamedCPlane( name, view )