# MATERIALASSIGN Command [GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [Commands](Help%20System/GSTARCAD/2027/Commands/(Commands).md) → [M](Help%20System/GSTARCAD/2027/Commands/M/(M).md) ## Function Description: This command is used to assign the material defined in the CMATERIAL system variable to the objects you select. ## Command Access: > **Icon:** / > **Menu:** / > **Ribbon:** / > **Toolbar:** / > **Command:** MATERIALASSIGN > **Alias:** / ## Command Prompts: ``` Select object: ``` --- **Related References:** - [Commands about Materials and Textures (GstarCAD 2026)](../../../2026/Commands/00%20Command%20Groups/Commands%20about%20Materials%20and%20Textures.md) --- [Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/commandReferences_M/MATERIALASSIGN.html) · © Gstarsoft Co., Ltd.