Set default Pool and Job Color

If you are seeking for help, this is the right place to ask!

Set default Pool and Job Color

Postby pb049 » 09 Jan 2018, 22:57

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.
pb049
 
Posts: 4
Joined: 14 Dec 2017, 17:02

Re: Set default Pool and Job Color

Postby Shoran Support » 09 Jan 2018, 23:44

No, that's not possible. The submitter offers default settings for such things.
User avatar
Shoran Support
RenderPal Team
 
Posts: 1177
Joined: 11 Apr 2008, 00:35
Location: Germany

Re: Set default Pool and Job Color

Postby pb049 » 10 Jan 2018, 14:03

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?
pb049
 
Posts: 4
Joined: 14 Dec 2017, 17:02

Re: Set default Pool and Job Color

Postby Shoran Support » 10 Jan 2018, 14:28

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.
User avatar
Shoran Support
RenderPal Team
 
Posts: 1177
Joined: 11 Apr 2008, 00:35
Location: Germany

Re: Set default Pool and Job Color

Postby pb049 » 10 Jan 2018, 22:36

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?
pb049
 
Posts: 4
Joined: 14 Dec 2017, 17:02

Re: Set default Pool and Job Color

Postby pb049 » 18 Jan 2018, 16:23

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!
pb049
 
Posts: 4
Joined: 14 Dec 2017, 17:02

Re: Set default Pool and Job Color

Postby Shoran Support » 18 Jan 2018, 16:46

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"
User avatar
Shoran Support
RenderPal Team
 
Posts: 1177
Joined: 11 Apr 2008, 00:35
Location: Germany


Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 2 guests

cron