$HSITE defaults for TractorScheduler?

   1726   3   2
User Avatar
Member
27 posts
Joined: March 2020
Offline
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?
User Avatar
Member
603 posts
Joined: Sept. 2016
Offline
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.
User Avatar
Member
27 posts
Joined: March 2020
Offline
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?
User Avatar
Member
603 posts
Joined: Sept. 2016
Offline
I think so, it's the standard mechanism here:
https://www.sidefx.com/docs/houdini/hom/locations.html#node_event_files [www.sidefx.com]
  • Quick Links