# PROJMODE System Variable
[GstarCAD 2026](Help%20System/GSTARCAD/2026/Index.md) → [System Variables](Help%20System/GSTARCAD/2026/System%20Variables/(System%20Variables).md) → [P](Help%20System/GSTARCAD/2026/System%20Variables/P/(P).md)
## Function Description:
The PROJMODE system variable is used to set the current Projection mode for trimming or extending.
| | |
| --- | --- |
| Type | Integer |
| Saved in | Registry |
| Initial value | 1 |
| Range | 0,1,2 |
## System Variable Value:
**0:** no projection
**1:** project to the XY plane of current UCS
**2:** project to current view plane
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2026_en-US/detail/systemVariables_Pgsv/PROJMODE.html) · © Gstarsoft Co., Ltd.