# MATERIALASSIGN Command
[GstarCAD 2022](Help%20System/GSTARCAD/2022/Index.md) → [Commands](Help%20System/GSTARCAD/2022/Commands/(Commands).md) → [M](Help%20System/GSTARCAD/2022/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: