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