Set expression on many layers
set_expressions_bulkApply the same expression to the same property path across many After Effects layers, with per-layer error results so one failing layer does not stop the rest.
Instructions
Put the same expression on the same property path across many layers. Per-layer results include expression errors; one failing layer does not stop the rest.
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": {
"property": "<property>",
"expression": "<expression>"
},
"name": "set_expressions_bulk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name, 'Folder/Name' path, or item id. Omit to use the active composition. | |
| layers | No | Layers: array of layer refs, or 'selected' (default) or 'all'. | |
| enabled | No | ||
| property | Yes | Property path, '/'-separated, by display name, matchName or 1-based index. Shortcuts: 'Position', 'Scale', 'Rotation', 'Opacity', 'Anchor Point', 'Source Text', 'Time Remap', 'Audio Levels'. Examples: 'Transform/Position', 'Effects/Gaussian Blur/Blurriness', 'Contents/Rectangle 1/Fill 1/Color', 'Masks/Mask 1/Mask Feather'. | |
| expression | Yes |