I have everything set up correctly and it works fine. Now I am wanting to either grey out or disable certain options so other people will not be able to change them when submitting a job. How can I make a setting default in the 3DS Max submitter, and also disable others from changing certain options?
I’m new to this, so I’m learning by trial and error. Thanks in advance.
Stephen
Oh, I’m in the correct script for the submitter, I’m guessing I need a script to default and disable the viewing of the options. Not totally erase it.
Am I even on the right track?
Hi Stephen,
If you just wanted to set default values for the 3dsmax submitter, you can edit an ini file:
thinkboxsoftware.com/deadlin … y_Defaults
However, since you also want to disable options, you’ll have to edit the submission scripts themselves. The easiest approach would be to simply hardcode the values being written out to the job files. For example, if you want to force a priority of 50, you could do this in SubmitMaxToDeadline_Functions.ms:
format "Priority=50\n" to:submitInfoFile
Instead of this:
format "Priority=%\n" SMTDSettings.Priority to:submitInfoFile
This way, you don’t have to adjust the actual UI. However, it might be misleading for users because no matter what they put for priority, it will be set to 50.
Hope this helps!