Verifies that the specified view exists.
rhinoscriptsyntax.IsView (view)
rhinoscript.view.IsView (view)
view |
Required. String or Guid. The title or identifier of the view. |
Boolean |
True or False indicating success or failure. |
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."