# HPINHERIT System Variable
[GstarCAD 2012](../../Index.md) → [System Variables](../%28System%20Variables%29.md) → [H](%28H%29.md)
| | |
| --- | --- |
| Type | Integer |
| Saved-in | Drawing |
| Initial value | 0 |
| Range | 0、1 |
Controls the hatch origin of the resulting hatch when using Inherit Properties in HATCH and HATCHEDIT.
0 The hatch origin is taken from HPORIGIN
1 The hatch origin is taken from the source hatch object
---
## Other versions with matching text
[GstarCAD 2011](../../../2011/System%20Variables/H/HPINHERIT%20System%20Variable--3517990b3895.md)