Assign Material
shading.assign_materialAssign a material to meshes or face components, automatically resolving the shading group.
Instructions
Assign a material to meshes or face components. Resolves the shading group from the material automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| targets | Yes | Meshes or face components to assign the material to | |
| material | Yes | Name of the material (or shading group) to assign |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | Yes | ||
| assigned | Yes | ||
| material | Yes | ||
| shading_group | Yes |