Resolve
Resolve
Fusion()
返回值:Fusion
Returns the Fusion object. Starting point for Fusion scripts.
GetMediaStorage()
返回值:MediaStorage
Returns media storage object to query and act on media locations.
GetProjectManager()
返回值:ProjectManager
Returns project manager object for currently open database.
OpenPage(pageName)
返回值:None
Switches to indicated page in DaVinci Resolve. Input can be one of:
- media
- edit
- fusion
- color
- fairlight
- deliver
GetCurrentPage()
返回值:string
Returns the page currently displayed in the main window. Returned value can be one of:
- media
- edit
- fusion
- color
- fairlight
- deliver
- None
GetProductName()
返回值: string
Returns product name.
GetVersion()
返回值: [version fields]
Returns list of product version fields in [major, minor, patch, build, suffix]
format.
GetVersionString()
返回值: string
Returns product version in major.minor.patch[suffix].build
format.
LoadLayoutPreset(presetName)
返回值: Bool
Loads UI layout from saved preset named presetName
.
UpdateLayoutPreset(presetName)
返回值: Bool
Overwrites preset named presetName
with current UI layout.
ExportLayoutPreset(presetName, presetFilePath)
返回值: Bool
Exports preset named presetName
to path presetFilePath
.
DeleteLayoutPreset(presetName)
返回值: Bool
Deletes preset named presetName
.
SaveLayoutPreset(presetName)
返回值: Bool
Saves current UI layout as a preset named presetName
.
ImportLayoutPreset(presetFilePath, presetName)
返回值: Bool
Imports preset from path presetFilePath
. The optional argument presetName
specifies how the preset shall be named. If not specified, the preset is named based on the filename.
Quit()
返回值: None
Quits the Resolve App.