# UCSORTHO System Variable
[GstarCAD 2026](Help%20System/GSTARCAD/2026/Index.md) → [System Variables](Help%20System/GSTARCAD/2026/System%20Variables/(System%20Variables).md)
**Function Description:**
The UCSORTHO system variable is used to determine whether the XY plan of the UCS automatically aligns with the current view plan when restored an ortho view.
| | |
| --- | --- |
| Type | Integer |
| Saved in | Registry |
| Initial value | 1 |
| Range | 0,1 |
**System Variable Value:**
**0:** keep the UCS unchanged when an orthographic view is restored
**1:** align the UCS automatically when an orthographic view is stored
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2026_en-US/detail/systemVariables/UCSORTHO.html) · © Gstarsoft Co., Ltd.