# CELWEIGHT System Variable
[GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [System Variables](Help%20System/GSTARCAD/2027/System%20Variables/(System%20Variables).md) → [C](Help%20System/GSTARCAD/2027/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.
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/systemVariables_Cgsv/CELWEIGHT.html) · © Gstarsoft Co., Ltd.