Hi,
Couple of ways to achieve the desired result.
-
You could copy the various submission scripts to another location, such as under the “custom” directory on the repository and hack away to make it hard-wired to your custom, studio requirements.
-
You could create a Maya sanity check script to apply the Maya in-app submission settings as you prefer. See here for example, more info: thinkboxsoftware.com/deadlin … nity_Check
-
For the monitor submission, you can take a copy of the Maya monitor submission python script from here:
[DeadlineRepositoryPath]/scripts/Submission/MayaSubmission.py
and copy it into:
[DeadlineRepositoryPath]/custom/scripts/Submission/MayaSubmission.py
and then changes the lines as follows:
[code]BEFORE:
mayaBatchBox = scriptDialog.AddSelectionControl( “MayaBatchBox”, “CheckBoxControl”, True, “Use MayaBatch Plugin”, labelWidth, -1, “This uses the MayaBatch plugin. It keeps the scene loaded in memory between frames, which reduces the overhead of rendering the job.” )
AFTER:
mayaBatchBox = scriptDialog.AddSelectionControl( “MayaBatchBox”, “CheckBoxControl”, False, “Use MayaBatch Plugin”, labelWidth, -1, “This uses the MayaBatch plugin. It keeps the scene loaded in memory between frames, which reduces the overhead of rendering the job.” )
BEFORE:
scriptDialog.AddControl( “CommandLineBox”, “TextControl”, “”, dialogWidth - labelWidth - 24, -1 )
AFTER:
scriptDialog.AddControl( “CommandLineBox”, “TextControl”, “-aml -at -rt 16”, dialogWidth - labelWidth - 24, -1 )[/code]
If you would like these settings to be remembered between sessions of the monitor UI being open, then it would just be a case of adding the control’s name such as “CommandLineBox” to the settings list:
[code]BEFORE:
settings = (“DepartmentBox”,“CategoryBox”,“PoolBox”,“SecondaryPoolBox”,“GroupBox”,“PriorityBox”,“MachineLimitBox”,“IsBlacklistBox”,“MachineListBox”,“LimitGroupBox”,“SceneBox”,“FramesBox”,“ChunkSizeBox”,“VersionBox”,“BuildBox”,“ProjectBox”, “OutputBox”, “RendererBox”, “SubmitSceneBox”, “MayaBatchBox”,“LocalRenderingBox”,“CpusBox”,“StrictErrorCheckingBox”,“StartupScriptBox”)
scriptDialog.LoadSettings( GetSettingsFilename(), settings )
AFTER:
settings = (“DepartmentBox”,“CategoryBox”,“PoolBox”,“SecondaryPoolBox”,“GroupBox”,“PriorityBox”,“MachineLimitBox”,“IsBlacklistBox”,“MachineListBox”,“LimitGroupBox”,“SceneBox”,“FramesBox”,“ChunkSizeBox”,“VersionBox”,“BuildBox”,“ProjectBox”, “OutputBox”, “RendererBox”, “SubmitSceneBox”, “MayaBatchBox”,“LocalRenderingBox”,“CpusBox”,“StrictErrorCheckingBox”,“StartupScriptBox”,“CommandLineBox”)
scriptDialog.LoadSettings( GetSettingsFilename(), settings )[/code]