# HPMAXLINES System Variable
[GstarCAD 2023](Help%20System/GSTARCAD/2023/Index.md) → [System Variables](Help%20System/GSTARCAD/2023/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 | 300000 |
| Range | 10 ~ 10000000 |
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2023_en-US/detail/systemVariables/HPMAXLINES.html) · © Gstarsoft Co., Ltd.