# GRIDUNIT System Variable
[GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [System Variables](Help%20System/GSTARCAD/2027/System%20Variables/(System%20Variables).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_2027_en-US/detail/systemVariables/GRIDUNIT.html) · © Gstarsoft Co., Ltd.