set_material
Paint a SketchUp entity by ID with a named color to apply its material. Use red, blue, gray, black, and other supported names.
Instructions
Paint an entity with a named colour.
Supported names: red, green, blue, yellow, cyan, magenta, white, black,
brown, orange, gray. For any other colour use eval_ruby with
Sketchup::Color.new(r, g, b).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| material | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |