chrisdunham95 Posted September 10, 2018 Share Posted September 10, 2018 Hey all, I'm trying to set the environment variable HOUDINI_USER_PREF_DIR - to a specific folder. I have other environment variables working perfectly, but I cannot get this one to work regardless of whether I use a windows environment variable or place this inside the Houdini.env, Everytime I open Houdini and check the shell using hconfig, it says my temp directory is set to the default directory, does anyone have any ideas? My only guess is this is being set elsewhere and their fore overriding my manually created env varaibles. (Ive checked spelling etc. and this is what my windows env variable looks like; name = ‘HOUDINI_USER_PREF_DIR’, value = ‘D:\Houdiniprefs’ ) Thanks Chris. Quote Link to comment Share on other sites More sharing options...
chrisdunham95 Posted September 10, 2018 Author Share Posted September 10, 2018 So ive found that the HOME env variable is what seems to be overriding my pref directory, but thought it would be possible to set them independently Quote Link to comment Share on other sites More sharing options...
doctorbob Posted November 23, 2018 Share Posted November 23, 2018 user pref dir must includ __HVER__ to work - this gives it somewhere to shove the houdini major version for example: HOUDINI_USER_PREF_DIR= U:/houdini__HVER__ which resolves to u:/houdini17.0 cheers, chrisg Quote Link to comment Share on other sites More sharing options...
ftaswin Posted December 15, 2019 Share Posted December 15, 2019 To get HOUDINI_USER_PREF_DIR to work, in my experience, is to set it before houdini is executed. So for example, on windows, you need to setup a bat file that set this and then run houdini.exe Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.