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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | Yes | Layer name, or null to clear. | |
| target | Yes | Entity to assign. |