Hi,
I was trying to set some defaults in the rpSubmitter (rbSubmit.py), both in Nuke and Maya. I was able to figure out how to set the 'Job settings' but just didn`t find a way to set a default Pool and a Job Color inside the 'rpSubmit.py'.
Is there a way to set these values?
Thanks.
Set default Pool and Job Color
- Shoran Support
- RenderPal Team
- Posts: 1199
- Joined: 11 Apr 2008, 00:35
- Location: Germany
- Contact:
Re: Set default Pool and Job Color
No, that's not possible. The submitter offers default settings for such things.
Re: Set default Pool and Job Color
Ah, allright.
Where are the defalut Settings going to be saved, so I can set an environment variable, so I don`t have to make it manually on every PC?
And I`m not able to set a Job Color in the Submitter. Do you have any tip for this?
Where are the defalut Settings going to be saved, so I can set an environment variable, so I don`t have to make it manually on every PC?
And I`m not able to set a Job Color in the Submitter. Do you have any tip for this?
- Shoran Support
- RenderPal Team
- Posts: 1199
- Joined: 11 Apr 2008, 00:35
- Location: Germany
- Contact:
Re: Set default Pool and Job Color
Settings are saved under C:\Users\<username>\AppData\Local\Shoran Software\RenderPal V2 Submitter\Config. The color can be set by specifying the -nj_color "<r>,<g>,<b>" switch in the additional commands field.
Re: Set default Pool and Job Color
The default Pool stuff works just fine, but I`m having some problems with the color. If I save defaults it doesn`t save the color settings in the additional commands field. So do I have to put this in manually every time, or is there a way to get access to the commands field via the rpSubmit.py?
Re: Set default Pool and Job Color
Well, I still wasn`t able to figure out a way to get this working. That`s my current version, can anyone tell my what I´m doing wrong?
cfgParser.add_section("Additional.commands")
cfgParser.set("Additional.commands", "nj_color", rpFormatIniValue("50,128,50"))
Thanks a lot!

cfgParser.add_section("Additional.commands")
cfgParser.set("Additional.commands", "nj_color", rpFormatIniValue("50,128,50"))
Thanks a lot!
- Shoran Support
- RenderPal Team
- Posts: 1199
- Joined: 11 Apr 2008, 00:35
- Location: Germany
- Contact:
Re: Set default Pool and Job Color
The setting is called addcommands, not commands. Furthermore, it is not a section. Basically, you have to specify something like this:
Code: Select all
[Additional]
addcommands = -nj_color "0,0,0"