How to query image sequence names into array in python

Hello everyone,

I`m new to this forum and searching for a way to get all image sequences of a selected directory into an array to later iterate through and batch render.

basic idea:

choose directory

for i in directory (0,size directory+1)
nuke.toNode(‘Read’).knob(‘file’).setValue(i)
render writes 1 2 3………

My Nuke Scripteditor just shows filenameFix(…) when I read some sequences. Actually that window with the sequences box activated already shows the exact list of strings that I need inside the variable.
But how to get the command behind ?

Any hints are highly appreciated

all the best,
Marco

No Responses to “How to query image sequence names into array in python”

Post a Comment