IsView

Verifies that the specified view exists.

Syntax

rhinoscriptsyntax.IsView (view)

rhinoscript.view.IsView (view)

Parameters

view

Required.  String or Guid.  The title or identifier of the view.

Returns

Boolean

True or False indicating success or failure.

Example

import rhinoscriptsyntax as rs

title = "Perspective"

result = rs.IsView(title)

if result:

    print "The " + title + " view exists."

else:

    print "The " + title + " view does not exist."

Also See

ViewNames