IsLayout

Verifies that a view is a page layout view.

Syntax

rhinoscriptsyntax.IsLayout (layout)

rhinoscript.view.IsLayout (layout)

Parameters

layout

Required.  String or Guid.  The title or identifier of an existing page layout view.

Returns

True

If layout is a page layout view.

False

If layout is a standard, model view.

None

On error.

Example

import rhinoscriptsyntax as rs

view = rs.CurrentView()

if rs.IsLayout(view):

    print "The current view is a page layout view."

else:

    print "The current view is standard, model view."

Also See

IsLayout

CurrentDetail