ShowGridAxes

Shows or hides a view's construction plane grid axes.

Syntax

rhinoscriptsyntax.ShowGridAxes ( view=None, show=None )

rhinoscript.view.ShowGridAxes ( view=None, show=None )

Parameters

view

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

show

Optional.  Boolean.  The grid axes display state to set.  If omitted, the current grid axes display state is returned.

Returns

Boolean

If show is not specified, then the grid axes display state if successful.

Boolean

If show is specified, then the previous grid axes display state if successful.

Example

import rhinoscriptsyntax as rs

view = rs.CurrentView()

if rs.ShowGridAxes(view)==False:

    rs.ShowGridAxes( view, True )

Also See

ShowGrid

ShowWorldAxes