# GRIDUNIT System Variable
[GstarCAD 2026](Help%20System/GSTARCAD/2026/Index.md) → [System Variables](Help%20System/GSTARCAD/2026/System%20Variables/(System%20Variables).md) → [G](Help%20System/GSTARCAD/2026/System%20Variables/G/(G).md)
## Function Description:
The GRIDUNIT system variable is used to specify the grid space(in X and Y directions) in the current viewport.
| | |
| --- | --- |
| Type | 2D point |
| Saved in | Drawing |
| Initial value | (0.5000,0.5000)(Imperial) or (10,10)(Metric) |
To specify the default grid space to be snap space, please set the GRIDUNIT to be 0.0. All changes will display in grid after regenerating view.
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2026_en-US/detail/systemVariables_Ggsv/GRIDUNIT.html) · © Gstarsoft Co., Ltd.