# CELWEIGHT System Variable
[GstarCAD 2019](Help%20System/GSTARCAD/2019/Index.md) → [System Variables](Help%20System/GSTARCAD/2019/System%20Variables/(System%20Variables).md) → [C](Help%20System/GSTARCAD/2019/System%20Variables/C/(C).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 2016](../../../2016/System%20Variables/C/CELWEIGHT%20System%20Variable.md) · [GstarCAD 2017](Help%20System/GSTARCAD/2017/System%20Variables/C/CELWEIGHT%20System%20Variable.md) · [GstarCAD 2018](Help%20System/GSTARCAD/2018/System%20Variables/C/CELWEIGHT%20System%20Variable.md) · [GstarCAD 2020](Help%20System/GSTARCAD/2020/System%20Variables/C/CELWEIGHT%20System%20Variable.md) · [GstarCAD 2021](Help%20System/GSTARCAD/2021/System%20Variables/C/CELWEIGHT%20System%20Variable.md) · [GstarCAD 2022](Help%20System/GSTARCAD/2022/System%20Variables/C/CELWEIGHT%20System%20Variable.md)