# REBUILD2DDEGREE System Variable
[GstarCAD 2026](Help%20System/GSTARCAD/2026/Index.md) → [System Variables](Help%20System/GSTARCAD/2026/System%20Variables/(System%20Variables).md) → [R](Help%20System/GSTARCAD/2026/System%20Variables/R/(R).md)
## Function Description:
The REBUILD2DDEGREE system variable is used to set the global degree when rebuilding a spline.
| | |
| --- | --- |
| Type | Integer |
| Saved in | Registry |
| Initial value | 3 |
| Range | 1 ~ 11 |
If the degree is 1, it rebuilds a straight line; if the degree is 2, it rebuilds a curve with one bend. A Bezier curve has a degree of 3. It can rebuild more complex curves with higher degrees, but computations are required.
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2026_en-US/detail/systemVariables/REBUILD2DDEGREE.html) · © Gstarsoft Co., Ltd.