Assign To Layer
assign_to_layerAssign any Cinema 4D target to a named layer, or pass null to clear its assignment. Ensure the layer exists beforehand; create it first if needed.
Instructions
Place a target (object / tag / material) on a named layer. Pass layer:null to clear the assignment. The layer must exist — call create_layer first if needed.
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": {
"target": "<target>",
"layer": "<layer>"
},
"name": "assign_to_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | Yes | Layer name, or null to clear. | |
| target | Yes | Entity to assign. |