MaximizeRestoreView

Toggles a view's maximized/restore window state of the specified view.

Syntax

rhinoscriptsyntax.MaximizeRestoreView (view=None)

rhinoscript.view.MaximizeRestoreView (view=None)

Parameters

view

Optional.  String or Guid.  The title or identifier of the view.  If omitted, the current active view is used.

Returns

None

Example

import rhinoscriptsyntax as rs

title = rs.CurrentView()

if rs.IsViewMaximized(title):

    rs.MaximizeRestoreView( title )

Also See

IsViewMaximized