resolve_exec
Execute arbitrary Python code directly on the live DaVinci Resolve connection to perform custom operations beyond the scope of other tools.
Instructions
Run Python against the live Resolve connection. Use for anything the other tools miss.
Read resolve://api/section/ first — for example resolve://api/section/Timeline — so you call real signatures rather than remembered ones.
Set a variable named result to return a value. Resolve objects in result
come back as handles usable by the other tools. Anything printed is returned
as stdout.
Example: items = timeline.GetItemListInTrack("video", 1) result = [i.GetName() for i in items if i.GetDuration() > 100]
Bound names: resolve, pm, project, mp, timeline, ms, H (handle registry). There is no sandbox — this is full Python in the server process.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |