AddLayout

Adds a new layout view to the document.

Syntax

rhinoscriptsyntax.AddLayout (title=None, size=None)

rhinoscript.view.AddLayout (title=None, size=None)

Parameters

title

Optional.  String.  The name of the new layout view.

size

Optional.  List or tuple of two numbers. width and height of paper for the new layout. Values are in the current page unit system for the document.

Returns

Guid

Identifier of the newly created layout view if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

rs.AddLayout("Portrait")

Also See

DeleteNamedView

NamedViews

RestoreNamedView