SOLVED: Seeing all active variables in houdini

   140   2   1
User Avatar
Member
28 posts
Joined: June 2016
Offline
Hello,


is it possible to get a list of all the variables that are in my actual houdini?

Because someone (Pablo) at the houdini discord helped me to find a variable named “$HOUDINI_OS” which gives the actual OS Houdini is running on. Even now, that I know this variable exists (and works) I am not able to get any information about it or any other variables that might exist in Houdini I am not aware of. If I set TMP = “/opt/path/bla/” in my houdini.env “$TMP” works fine, but I don´t know how to see these variables in houdini. “set” and “setenv” in the texteditor just seem to give a couple of common variables but not all that are working.

Thanks
Edited by Xue_Yue - Oct. 21, 2019 12:17:35
User Avatar
Member
443 posts
Joined: Oct. 2011
Offline
Try the menu Windows -> Shell and write “hconfig” on the promt. That should print all variables the are configured for your active H session.
And here is a link to all the possible Houdini env vars you can set:
https://www.sidefx.com/docs/houdini/ref/env.html [www.sidefx.com]

-b
http://www.racecar.no [www.racecar.no]
User Avatar
Member
28 posts
Joined: June 2016
Offline
Hi bonsak,

thanks for looking into this!

“hconfig” doesn't give all the variables on my computer, but the Windows -> Shell hint was the right thing to do. If I type “set” there all the variables appear. Everything I defined in my houdini.env and all the others I wanted to see.

Many thanks, that helped me a lot.
  • Quick Links