Get Object's Layer
get_object_layerRetrieve the layer assigned to any object, tag, or material in Cinema 4D, or return null when no layer is set.
Instructions
Return the layer currently assigned to a target entity (object / tag / material), or null if unassigned.
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>"
},
"name": "get_object_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Entity to query. |