Verifies that the specified view is maximized - enlarged so as to fill the entire Rhino window.
rhinoscriptsyntax.IsViewMaximized (view=None)
rhinoscript.view.IsViewMaximized (view=None)
view |
Optional. String or Guid. The title or identifier of the view. If omitted, the current active view is used. |
Boolean |
True or False indicating success or failure. |
import rhinoscriptsyntax as rs
title = rs.CurrentView()
result = rs.IsViewMaximized(title)
if result:
print "The " + title + " view is maximized."
else:
print "The " + title + " view is not maximized."