I made a script, which has to set LUT from the file. I add my .cube file in default folder (C:\Program Files\Adobe\Adobe Premiere Pro CC 2019\Lumetri\LUTs\Creative) and after use the line:
app.project.activeSequence.videoTracks[1].clips[0].components[2].properties[30].setValue(1 4, true);
But when I select other sequence, "Input LUT" stays the same (or [Custom], but not my settings). How can I fix it?
P.S. If I execute "app.project.activeSequence.videoTracks[1].clips[0].components[2].properties[30].setValue(1 4, true)" not in the loop - Everything works fine.