# GRIDUNIT System Variable [GstarCAD 2015](../../Index.md) → [System Variables](../%28System%20Variables%29.md) → [G](%28G%29.md) | | | | --- | --- | | Type | 2D-point | | Saved-in | Drawing | | Initial value | X\=0.5, Y\=0.5(Imperial) X\=10, Y\=10(Metric) | | Range | 0 or above | Specifies the grid spacing (X and Y) for the current viewport. --- ## Other versions with matching text [GstarCAD 8 (2013–2014)](../../../2013/System%20Variables/G/GRIDUNIT%20System%20Variable.md)