# HPMAXLINES System Variable
[GstarCAD 2026](Help%20System/GSTARCAD/2026/Index.md) → [System Variables](Help%20System/GSTARCAD/2026/System%20Variables/(System%20Variables).md)
**Function Description:**
The HPMAXLINES system variable is used to set the maximum of hatch lines generated when hatching.
| | |
| --- | --- |
| Type | Real |
| Saved in | Registry |
| Initial value | 100000 |
| Range | 100 ~ 10000000 |
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2026_en-US/detail/systemVariables/HPMAXLINES.html) · © Gstarsoft Co., Ltd.