# CELWEIGHT System Variable [GstarCAD 2016](../../Index.md) → [System Variables](../%28System%20Variables%29.md) → [C](%28C%29.md) **Function Description:** The CELWEIGHT system variable is used to set new object lineweight. | | | | --- | --- | | Type | Integer | | Saved in | Drawing | | Initial value | -1 | | Range | -1,-2,-3,0,5,9,13,15,18,20,25,30,35,40,50,53,60,70,80,90,100,106,120,140,158,200,211 | All values must be entered in hundredths of millimeters. **System Variable Value:** **-1:** set the lineweight to be BYLAYER **-2:** set the lineweight to be BYBLOCK **-3:** set the lineweight to be DEFAULT. The DEFAULT value is determined by LWEDFAULT system variable. --- ## Other versions with matching text [GstarCAD 2017](../../../2017/System%20Variables/C/CELWEIGHT%20System%20Variable--e13a63f12f1a.md) · [GstarCAD 2018](../../../2018/System%20Variables/C/CELWEIGHT%20System%20Variable--e13a63f12f1a.md) · [GstarCAD 2019](../../../2019/System%20Variables/C/CELWEIGHT%20System%20Variable--e13a63f12f1a.md) · [GstarCAD 2020](../../../2020/System%20Variables/C/CELWEIGHT%20System%20Variable--e13a63f12f1a.md) · [GstarCAD 2021](../../../2021/System%20Variables/C/CELWEIGHT%20System%20Variable--e13a63f12f1a.md) · [GstarCAD 2022](../../../2022/System%20Variables/C/CELWEIGHT%20System%20Variable--e13a63f12f1a.md)