# PLINETYPE System Variable
[GstarCAD 2026](Help%20System/GSTARCAD/2026/Index.md) → [System Variables](Help%20System/GSTARCAD/2026/System%20Variables/(System%20Variables).md)
**Function Description:**
The PLINETYPE system variable is used to control whether to use optimized 2D polylines.
| | |
| --- | --- |
| Type | Integer |
| Saved in | Registry |
| Initial value | 2 |
| Range | 0,1,2 |
**System Variable Value:**
**0:** do not convert polylines when opening an old drawing; PLINE creates polylines in old format.
**1:** do not convert polylines when opening an old drawing; PLINE creates optimized polylines.
**2:** do not convert polylines when opening an old drawing; PLINE creates optimized polylines.
The PLINETYPE system variable also controls the polyline types created by the following commands: BOUNDARY, DONUT, PEDIT, POLYGON, and SKETCH.
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2026_en-US/detail/systemVariables/PLINETYPE.html) · © Gstarsoft Co., Ltd.