scripting limitations on collaborative project

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline

ambustion

  • Posts: 14
  • Joined: Mon Jun 24, 2019 4:36 pm
  • Real Name: Brendon Rathbone

scripting limitations on collaborative project

PostThu Oct 21, 2021 5:31 am

Hey guys,

Just wondering if anyone else has run into this. I'm trying to fix up a script I have for automating dailies tasks in resolve and using the SetLut() function, I have run into a bit of a wall. If I call a script to set lut for all clips in timeline(let alone matching them to a set of CDL's and LUT's) I only get the lut applied to one clip(the clip I am currently on) if I am in a collaborative project. If I am in a non-collab project, it correctly applies all luts to all clips. Has anyone seen this behavior before and are there any other limitations to the api in collaborative projects I should be aware of?

I am currently testing on resolve 17.2.2 as well.

My very simple script to test the behavior is here:

Code: Select all
lut = r"C:\ProgramData\Blackmagic Design\DaVinci Resolve\Support\LUT\mysweetlut.cube"

projectManager=resolve.GetProjectManager()
project=projectManager.GetCurrentProject()
timeline=project.GetCurrentTimeline()
currClip = timeline.GetCurrentVideoItem()
TimelineText="Timeline Clips - " + timeline.GetName()
trackList=timeline.GetTrackCount("video")

clipList=[]
for x in range(1 , int(trackList) + 1):
    tmpclipList=timeline.GetItemListInTrack("video" , x)
    if tmpclipList == None:
        print()
    else:
        for y in tmpclipList:
            clipList.append(y)

for x in clipList:
    print(x.GetName())
    print(x.SetLUT(1,lut))
Offline

Peter Chamberlain

Blackmagic Design

  • Posts: 11305
  • Joined: Wed Aug 22, 2012 7:08 am

Re: scripting limitations on collaborative project

PostFri Oct 22, 2021 6:30 am

moved to resolve forum
DaVinci Resolve Product Manager
Offline

ColinMcT

  • Posts: 38
  • Joined: Sat Jul 10, 2021 11:14 pm
  • Real Name: Colin McTaggart

Re: scripting limitations on collaborative project

PostFri Oct 22, 2021 7:57 am

API scripts have been improved with the new 17.4 update. I wonder if this would help you? Sounds like an interesting script you are making
DaVinci Resolve Studio 17.4.1
2019 27" iMac 40gig ram
BM Speed Editor
BM Editor Keyboard
Ultrastudio mini 4K
BM Micro Panel

Return to DaVinci Resolve

Who is online

Users browsing this forum: Bing [Bot], chbkoiklp457, crtkecnkl659, Google [Bot], Google Feedfetcher, jfykeaucq871, Shrinivas Ramani, tatrapikao and 73 guests