fx notes

Search

Search IconIcon to open search

Lua Scripting in Resolve

Last updated Sep 9, 2022 Edit Source

Overview and snippets for Lua coding in DaVinci Resolve.

A good API overview and multiple examples can be found in Deric’s Unofficial DaVinci Resolve Scripting Documentation

# Basics

# Getting Base Objects

1
2
3
4
5
6
7
resolve = Resolve()
projectManager = resolve:GetProjectManager()
project = projectManager:GetCurrentProject()
mediaPool = project:GetMediaPool()
rootFolder = mediaPool:GetRootFolder()
clips = rootFolder:GetClips()
timelineCount = project:GetTimelineCount()

# Switching Pages

1
resolve:OpenPage("color") -- ("media", "cut", "edit", "fusion", "color", "fairlight", "deliver").

sources / further reading:


Interactive Graph