Hi, I noticed there is no line for “Additional Args” when submitting a job from inside an application. Specifically, I’m testing with Nuke, but I think this applies to all programs with integrated submission scripts. How can I pass custom arguments to Draft when I’m submitting a job from Nuke that uses a Dependent Draft job? I was able to do this when I submitted an independent Draft job from the Deadline Monitor. Even after digging through the code, I wasn’t able to find anything.
Hello,
In looking into this, I believe that the “[repo]\submission\Nuke\Main\SubmitNukeToDeadline.py” file, around line 850, would be what you are looking for. If you have a Python Programmer on staff, they should be able to add in an extra fileHandle.write line to set custom arguments. Hope that helps.
I’m a Python programmer.
It does look like the line number you specified is part of the solution. I just realized that the Draft job is created from an event. So I need to change [repo]\events\Draft\Draft.py as well as the Nuke submission script. I’ll be passing additional args with “ExtraInfoKeyValue” and then using that to write “ScriptArg” in the Draft event.
That sounds like the right path to getting this to work for you