Toggles a view's maximized/restore window state of the specified view.
rhinoscriptsyntax.MaximizeRestoreView (view=None)
rhinoscript.view.MaximizeRestoreView (view=None)
view |
Optional. String or Guid. The title or identifier of the view. If omitted, the current active view is used. |
None
import rhinoscriptsyntax as rs
title = rs.CurrentView()
if rs.IsViewMaximized(title):
rs.MaximizeRestoreView( title )