Shows or hides a view's construction plane grid.
Rhino.ShowGrid ([strView [, blnShow]])
strView |
Optional. String. The title or identifier of the view to modify. If omitted, the current active view is used. |
blnShow |
Optional. Boolean. The grid display state to set. If omitted, the current grid display state is returned. |
Boolean |
If blnShow is not specified, then the grid display state if successful. |
Boolean |
If blnShow is specified, then the previous grid display state if successful. |
Null |
On error. |
Dim strView
strView = Rhino.CurrentView
If Rhino.ShowGrid(strView) = False Then
Rhino.ShowGrid strView, True
End If