Syntax: !rg [regnumber]This will set the grid of the drawing window containing the pointer (or the main drawing window if the pointer is not in a drawing window) to the grid stored in regnum. The regnum, if given, is an integer 0-7. If not given, 0 is understood. A register that has not been saved will return a default grid style (1 micron, no snapping, dot grid). In addition, the grid storage register 0 takes the value of the previous grid.
The grid can be saved to a register with the !sg command.