Shows or hides a view's construction plane grid axes.
rhinoscriptsyntax.ShowGridAxes ( view=None, show=None )
rhinoscript.view.ShowGridAxes ( view=None, show=None )
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. |
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. |
import rhinoscriptsyntax as rs
view = rs.CurrentView()
if rs.ShowGridAxes(view)==False:
rs.ShowGridAxes( view, True )