Hi NightCabbage, for toggling the view controls on or off with a keyboard shortcut, paste in the following as the command part of the shortcut key:
script: /* Toggle view controls */ moi.view.showViewControls = !moi.view.showViewControls;
Note that when you toggle them on they won't actually show until you move the mouse again.
For toggling both the grid axes and the full grid together with one key, use this:
script: /* Toggle grid and axis lines */ moi.grid.display = !moi.grid.display; moi.grid.showXYAxes = moi.grid.display;
- Michael
|