assign_material
Apply a material from the scene or library to specified parts, optionally duplicating it to avoid solid red rendering in background renders.
Instructions
Applique un matériau (de la scène ou de la bibliothèque) aux pièces object_ids. duplicate=true (défaut, recommandé) : une copie est créée puis partagée par ces pièces ; on peut la régler sans toucher l'original, et elle seule s'édite en graphe. Un matériau de bibliothèque appliqué sans copie sort en rouge uni dans un rendu en arrière-plan (constaté avec KeyShot 2026.2). Annulable avec undo_material_changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| material | Yes | ||
| duplicate | No | ||
| object_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |