Hi all,
Is there a way for Houdini to scan and cat multiple 123/456 scripts?
For example, have a studio wide script in HOUDINI_PATH and an artist level script in their ~/houdini11.0/scripts? But still retain both. Or maybe just sequentially include one and then the other.
Any help is greatly appreciated!
Thanks,
dave
multiple startup scripts
5367 3 1- deecue
- Member
- 412 posts
- Joined: 7月 2005
- Offline
- graham
- Member
- 1922 posts
- Joined: 11月 2006
- Online
- deecue
- Member
- 412 posts
- Joined: 7月 2005
- Offline
- Antoine Durr
- Member
- 321 posts
- Joined: 7月 2005
- Offline
grahamIt's a bit trickier than that, as you want to make sure that your environment is consistent, i.e. that all appropriate scripts get read, regardless of whether they are present. Ergo daisy chaining scripts doesn't work really well.
From the first script that is run you could execute a source command to manually source your other script.
One solution is to write a wrapper to launch Houdini which effectively does:
houdini myFile.hip /path/to/setup.script
And then the setup.script looks at the HOUDINI_PATH, reverses the order, and then looks in each location for a 123/456 or some other named script. If it finds it, it runs it; repeat for all remaining locations in the HOUDINI_PATH.
-
- Quick Links