# GRIDMAJOR System Variable
[GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [System Variables](Help%20System/GSTARCAD/2027/System%20Variables/(System%20Variables).md) → [G](Help%20System/GSTARCAD/2027/System%20Variables/G/(G).md)
## Function Description:
The GRIDMAJOR system variable is used to set the frequency of major grid lines compared to minor grid lines.
| | |
| --- | --- |
| Type | Integer |
| Saved in | Drawing |
| Initial value | 5 |
| Range | 1 ~ 100 |
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/systemVariables_Ggsv/GRIDMAJOR.html) · © Gstarsoft Co., Ltd.