
- Posts: 3
- Joined: Thu Jul 01, 2021 3:50 pm
- Real Name: Julian Hansen
We are trying to interact with Resolve / Fusion from an external python script.
Fusion Studio 9
DaVinci Resolve 15
Python 2.7.15
Python 3.9.5
We have read the README.txt provided here
C:\ProgramData\Blackmagic Design\DaVinci Resolve\Support\Developer\Scripting\README.txt
This document mentions setting up some Environment variables - which we have done and tested they are set correctly.
It then gives a sample script
In addition there are sample scripts provided here
C:\ProgramData\Blackmagic Design\DaVinci Resolve\Support\Developer\Scripting\Examples
When we try to run these through FuScript it does not work.
If we put a print of the resolve variable after the scriptapp("Resolve") call we get
None
If we change
To
and print the fusion var we get
FusionUI (0x0000000002C3D5C0) [App: 'Fusion' on 127.0.0.1, UUID: 6059386d-18e4-4a44-bbb2-f04de2576fcd]
But any attempt to do anything else with the fusion object results in
TypeError: 'NoneType' object is not callable
I believe we are missing something trivial but fundamental.
If anyone could provide insight / direction on how to fix this - we would greatly appreciate it.
Fusion Studio 9
DaVinci Resolve 15
Python 2.7.15
Python 3.9.5
We have read the README.txt provided here
C:\ProgramData\Blackmagic Design\DaVinci Resolve\Support\Developer\Scripting\README.txt
This document mentions setting up some Environment variables - which we have done and tested they are set correctly.
It then gives a sample script
- Code: Select all
#!/usr/bin/env python
import DaVinciResolveScript as dvr_script
resolve = dvr_script.scriptapp("Resolve")
fusion = resolve.Fusion()
projectManager = resolve.GetProjectManager()
projectManager.CreateProject("Hello World")
In addition there are sample scripts provided here
C:\ProgramData\Blackmagic Design\DaVinci Resolve\Support\Developer\Scripting\Examples
When we try to run these through FuScript it does not work.
If we put a print of the resolve variable after the scriptapp("Resolve") call we get
None
If we change
- Code: Select all
resolve = dvr_script.scriptapp("Resolve")
To
- Code: Select all
fusion = dvr_script.scriptapp("Fusion")
and print the fusion var we get
FusionUI (0x0000000002C3D5C0) [App: 'Fusion' on 127.0.0.1, UUID: 6059386d-18e4-4a44-bbb2-f04de2576fcd]
But any attempt to do anything else with the fusion object results in
TypeError: 'NoneType' object is not callable
I believe we are missing something trivial but fundamental.
If anyone could provide insight / direction on how to fix this - we would greatly appreciate it.