# CMATERIAL 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 CMATERIAL system variable is used to set material for new objects. | | | | --- | --- | | Type | Strings | | Saved in | Drawing | | Initial value | BYLAYER | | The valid value can be BYLAYER, BYBLOCK, and material names in drawing. --- [Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/systemVariables_Cgsv/CMATERIAL.html) · © Gstarsoft Co., Ltd.