How .inc files work

An include file is inserted into a render config at the exact location of the include command. (You can even include in the middle of a line)

Comment lines starting with # are deleted before inserting.  (Exception: They have a [ in the line. Like [KSO] or [Windows] ).


Note that you should create the file in the folder [RR]/render_apps/_config_inhouse and not [RR]/render_apps/_config


__inhouse.inc files


If you want to change any custom default setting, please use __inhouse.inc file.

This way you will keep getting updates for the render config, but you keep your settings for the submission.


At the end of each render config you will find at least 2 include files for your inhouse changes.

The file 3D02__Maya2009__Arnold.cfg has for examples these includes:

::include(3D02__Maya____global_kso.inc)

1) Settings for all Maya render configs. 

::include(r_Arnold.inc)

2) Arnold specific settings

::include(3D00__3D_global.inc) 

3) Settings for all 3D apps

::include(<ConfigFileName>__inhouse.inc)

4) Your inhouse file to override settings for this render app and renderer only



Note that include lines 1-3 have include lines of their own.

So if you want to change for example some setting for all Maya jobs, then the file 3D02__Maya____global_kso.inc has this include line:

::include(3D02__Maya____global_kso__inhouse.inc)

If you want to change settings for all 3D jobs, then 3D00__3D_global.inc has the include line:

::include(<ConfigFileName>__inhouse.inc)








Example


You want to change 

  • The default Sequence Divide for Maya to 1-2.
  • The default Sequence Divide for Maya-Redshift to 10-15.



Please create the file [RR_ROOT]\render_apps\_config_inhouse\3D02__Maya____global_kso__inhouse.inc

Add these lines to the file:

SeqDivMIN=1~1

SeqDivMAX=1~2



Please create the file [RR_ROOT]\render_apps\_config_inhouse\3D02__Maya2012__redshift__inhouse.inc
Add these lines to the file:

SeqDivMIN=1~10

SeqDivMAX=1~15



For more information about job option flags, please see rrSubmitter Defaults.