set_layer_collection
Control how a collection participates in a Blender view layer by setting exclude, holdout, or indirect-only flags for rendering and compositing.
Instructions
Set how a collection takes part in one view layer.
Args: collection_name: Collection, at any depth. view_layer: View layer to change; omit for the active one. exclude: Leave the collection out of this layer entirely. holdout: Render it as a transparent cut-out (the objects mask what is behind them), for compositing layers back together. indirect_only: Cycles: it shows only in reflections, shadows and bounce light, not directly to the camera.
Returns: Dict with the collection, the layer and its exclude/holdout/indirect_only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exclude | No | ||
| holdout | No | ||
| view_layer | No | ||
| indirect_only | No | ||
| collection_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||