Adds a new layout view to the document.
rhinoscriptsyntax.AddLayout (title=None, size=None)
rhinoscript.view.AddLayout (title=None, size=None)
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. |
Guid |
Identifier of the newly created layout view if successful. |
None |
If not successful, or on error. |
import rhinoscriptsyntax as rs
rs.AddLayout("Portrait")