Welcome to od|forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.


houdini.env - HOUDINI_PATH

It would be great to have a centralised official document on setting up Houdini in a production pipeline.. I am currently setting HOUDINI_PATH in houdini.env so that the whole studio can have access to OTLs, prefs, presets, toolbars etc

Is it bad practice to append to HOUDINI_PATH? (some posts seem to suggest so..)

I am using windows and I have mimicked the folder structure that is in My Documents\houdini##.# folder. I do have access otls that are stored within the otls folder however I can't seem to get the preferences working.


My houdini.env is currently:

HVER = 16

HOUDINI_PATH = S:/3D_globalSettings/houdini/$HVER;&

I've added a hchannel.pref.nosave to the specified folder and i'm trying to set the start and end frame, i.e.:

pref.frame_end := 1201;
pref.frame_start := 1001;


Is this the best approach or should I use hou.putenv in a 123.py for example?

Edited by michaelb-01

Share this post

Link to post
Share on other sites

Using the .nosave suffix (which is recommended so that users can't overwrite this file) means that those preferences aren't being picked up for me.. If I remove that suffix that file now works, and 'save as permanent defaults' does not overwrite this file....

Share this post

Link to post
Share on other sites

houdini.env will not work at the Studio level, it only works per a user.

You'll need an outside studio system that sets the HOUDINI_PATH variable, or add it to be set by your remote installer when you have houdini installed.

By the time 123.py is launched you have already accessed HOUDINI_PATH, so you need to do it before that.

Setting the start and end frame in the 123.py & 456.py should work fine.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now