Is there a way to set the default of the commandLineModeBox in the FusionSubmission.py to always be selected when I launch a job from Fusion.
We are using Deadline 10.1.9.2 and Fusion 16.
Is there a way to set the default of the commandLineModeBox in the FusionSubmission.py to always be selected when I launch a job from Fusion.
We are using Deadline 10.1.9.2 and Fusion 16.
The only way I know of is to override the Fusion job submitter script, which is what we’ve done at my studio. It may sound a bit intense, but it’s very straight forward.
Not sure what your Deadline and/or Python experience is like, but here’s roughly what needs to happen:
DeadlineRepository/scripts/Submission/FusionSubmission.py
DeadlineRepository/custom/scripts/Submission/FusionSubmission.py
(I prefer to store an unmodified, version specific, copy of this file as well. So that when the next Deadline upgrade rolls around, I can do a diff between the unmodified version and the new shipped version, and use this information to upgrade my custom submitter. It’s clunky, but better than nothing.)
FusionSubmission.py
file and find this line: commandLineModeBox = scriptDialog.AddSelectionControlToGrid(...
False
there, which is the default check-state. Replace that with a True
and save your file.settings = (...
. One of the last strings in that tuple is CommandLineModeBox
. Remove it. Save.That’s it, really. This python script builds the UI for submissions from the Deadline Monitor and from the integrated Fusion submitter. So once you’ve deployed your changes, they should be live site-wide.
Cheers
Thank you! I had originally changed that value to True and wasn’t having any luck.
Definitely Step 6 was the key here! Thank you so much!