# MATERIALASSIGN Command
[GstarCAD 2023](Help%20System/GSTARCAD/2023/Index.md) → [Commands](Help%20System/GSTARCAD/2023/Commands/(Commands).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](Help%20System/GSTARCAD/2023/Commands/Commands%20about%20Materials%20and%20Textures.md)
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2023_en-US/detail/commandReferences/MATERIALASSIGN.html) · © Gstarsoft Co., Ltd.