davidoberst
March 1, 2020 22:03:14
I'm looking at helping connect our Houdini (18.0.287) use to our Tractor farm. One thing I'm trying to find is where a new Tractor Scheduler node gets its default values. Do they come from $HFS/houdini/properties/top/tractor.ds, or are those already incorporated into the .hda? If the former, is there a way to do a site-wide override? For instance, if I wanted the default Tractor service key to be, say, “Mumford”, instead of the current default “Houdini”, can I place a file of some sort in $HSITE to provide the new default for one or more of the parms?
chrisgreb
March 3, 2020 13:33:57
If you put a script like: $HOUDINI_PATH/scripts/top/tractorscheduler_OnCreated.py
You can do:
node = kwargs['node']
node.parm('tractor_servicekeys').set('Mumford')
To set that value for the scheduler node.
davidoberst
March 3, 2020 14:41:23
chrisgreb
If you put a script like: $HOUDINI_PATH/scripts/top/tractorscheduler_OnCreated.py
You can do:
node = kwargs['node']
node.parm('tractor_servicekeys').set('Mumford')
To set that value for the scheduler node.
So if I create that file in $HSITE/houdini17.5/scripts/top/tractorscheduler.OnCreated.py, it will be preferentialy picked up from the site area, right?
chrisgreb
March 3, 2020 15:42:53