# SPLINESEGS System Variable
[GstarCAD 2015](../../Index.md) → [System Variables](../%28System%20Variables%29.md) → [S](%28S%29.md)
| | |
| --- | --- |
| Type | Integer |
| Saved-in | Drawing |
| Initial value | 8 |
| Range | -32768-32767 |
Sets the number of line segments to be generated for each spline-fit polyline generated by the Spline option of the PEDIT command.
If SPLINESEGS is set to a negative value, segments are generated using the absolute value of the setting and then a fit-type curve is applied to those segments.
---
## Other versions with matching text
[GstarCAD 8 (2013–2014)](../../../2013/System%20Variables/S/SPLINESEGS%20System%20Variable.md)