rhino_layer_set_material
Bind an existing render material to a layer, so all layer-source objects inherit it. Use after creating the material.
Instructions
Bind a render material to a layer so layer-source objects inherit it.
Bridge-only: rhino3dm exposes ``material_index`` on the layer but the
in-document material table is read-only. Use ``rhino_material_create``
first to define the material.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"args": "<args>"
},
"name": "rhino_layer_set_material"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||