# REBUILD2DDEGREE System Variable [GstarCAD 2016](../../Index.md) → [System Variables](../%28System%20Variables%29.md) → [R](%28R%29.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 could rebuild more complex curves with higher degrees, but computations are required. --- ## Other versions with matching text [GstarCAD 2017](../../../2017/System%20Variables/R/REBUILD2DDEGREE%20System%20Variable.md) · [GstarCAD 2018](../../../2018/System%20Variables/R/REBUILD2DDEGREE%20System%20Variable.md) · [GstarCAD 2019](../../../2019/System%20Variables/R/REBUILD2DDEGREE%20System%20Variable.md) · [GstarCAD 2020](../../../2020/System%20Variables/R/REBUILD2DDEGREE%20System%20Variable.md) · [GstarCAD 2021](../../../2021/System%20Variables/R/REBUILD2DDEGREE%20System%20Variable.md)