JobUtils.GetOutputFilenameCount

I’m digging through the QuicktimeSubmission.py (scripts\jobs) to try and understand the quicktime submission process so I can modify it to work with our Modo jobs. I’ve been searching the scripting reference for this method JobUtils.GetOutputFilenameCount but I can’t find it anywhere in the pdf doc. I’m trying to understand what exactly it is doing. Could someone shed some light on this for me?

Thanks!

Hello,

That function seems to return the count of output filenames from a job which is selected in the Monitor. It takes one input parameter which is the index of the job in a list of jobs highlighted in the job view. Hope that helps.

Cheers,

Oh so if I have a Nuke job with 3 write nodes, it will detect that and output 3?

The command is used to get the number of output files in the selection. So if you have a job with 10 frames, each with their own output, that command would output the number 10. Hope that helps.

It does thanks.