Is there someway to set the default concurrent tasks in the Nuke submission to be more than “1”. In fact can I also set the “Submit Write Nodes As Separate Jobs”, “Use Node’s Framelist”, and “Selected Nodes Only” to checked on by default?
Thanks,
Sean
vfxmonster.com
There are two ways. The first is to write a custom sanity check script that sets these values for you:
thinkboxsoftware.com/deadlin … nity_Check
The nice thing about this approach is that you don’t have to modify the main submission script.
The other option, of course, is to just modify the main submission script and hardcode the default values.
Cheers,
Thanks for the Quick response. I’ve tried taking both approaches and honestly since I’m more of an artist than programmer I think my language is off. This is what I’ve created for the Custom sanity check:
import nuke
import DeadlineGlobals
def RunSanityCheck():
DeadlineGlobals.initPriority = 10
DeadlineGlobals.initConcurrentTasks = 12
DeadlineGlobals.initMachineLimit = 10
DeadlineGlobals.initGroup = nuke
DeadlineGlobals.initPool = high
DeadlineGlobals.initSeparateJobs = True
DeadlineGlobals.initSelectedOnly = True
DeadlineGlobals.initUseNodeRange = True
DeadlineGlobals.initSubmitScene = True
nuke.message( "This is a custom sanity check!" )
return True
Bastardizing the example on the website, however the only attribute it seems to be adjusting is the Concurrent Tasks, the rest seem to stay on the default. I’m guessing I’m either not calling out the correct attribute or my language for the string/value is wrong. I’ll still hammer through it but if you have any tips that would be great.
Thanks again,
Sean
vfxmonster.com
Hey Sean,
The problem is that the group and pool properties require string values. I’ve attached the modified script here, which should work.
Cheers,
-Ryan
CustomSanityChecks.zip (364 Bytes)
Ryan,
You are a lifesaver! Thanks again, script works perfectly.