Replace Source
replace_sourceSwap a layer's footage, precomp, solid, or null source with another project item while keeping its timing, keyframes, masks, and effects; optionally update expressions.
Instructions
Swap the footage, comp or solid a layer shows for another project item (like Alt/Option-dragging onto it), keeping the layer's timing, keyframes, masks and effects. fix_expressions (default true) updates expressions that referred to the old source. Works on footage, precomp, solid and null layers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | ||
| layer_id | Yes | ||
| fix_expressions | No |