AddNamedCPlane

Adds a new named construction plane to the document.

Syntax

rhinoscriptsyntax.AddNamedCPlane (cplane_name, view=None)

rhinoscript.view.AddNamedCPlane (cplane_name, view=None)

Parameters

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.

Returns

Parameters

String

The name of the newly created named construction plane if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

views = rs.ViewNames()

if views:

    for view in views:

        name = view + "_cplane"

        rs.AddNamedCPlane( name, view )

Also See

DeleteNamedCPlane

NamedCPlane

NamedCPlanes

RestoreNamedCPlane