set_property_batch
Set a property across many layers or comps in one undo step, applying broadcast or per-target values instead of repeated single-property calls.
Instructions
Set a property across MANY layers (or comps) in ONE undo step. Broadcast form: {comp?, layers, prop, value, time?} applies the same value to every listed layer. Targets form: {targets:[{comp?, layer, prop, value, time?}, ...]} for per-target values. Returns per-target {ok,error}. Use instead of calling set_property N times (stat-card / box-rig work).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_property_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | comp name, id, or { id: N } (broadcast form) | |
| prop | No | property path or matchName (broadcast form) | |
| time | No | seconds; only used if the property is keyframed | |
| value | No | value to set (number, array, color, etc.) | |
| layers | No | layer names/indices (broadcast form) | |
| targets | No | per-target list: [{comp?,layer,prop,value,time?}] | |
| instance | No | Target a specific AE when more than one is connected (e.g. "2026", "2025", or a major like "26"). Omit when only one AE is open — see list_instances. |