HSITE in OSX

   4953   9   2
User Avatar
Member
230 posts
Joined: 10月 2009
Offline
I am using $HSITE successfully in work where the os is linux.
But how to have it work in OS X? I have set the environment variable in .bash_profile:
export HSITE=/Users/username/Documents/Houdini
and I can see it when running hconfig -ap:
$HSITE = /Users/csp/Documents/Houdini
but nothing inside there will be available inside Houdini, not the python script under python2.6libs subdirectory or otls or anything else.

What am I doing wrong in OSX?
User Avatar
Member
443 posts
Joined: 9月 2012
Offline
Just try this:

HOUDINI_OTLSCAN_PATH= $HOME/houdini10.0/otls
MyVolume/my_projects/otlsOtherDrive/more/otls/:$HFS/houdini/otls

or

HOUDINI_OTLSCAN_PATH = “@/otls;$MYJOB/otl;$HOME/houdini12.0/otl”
User Avatar
Member
443 posts
Joined: 9月 2012
Offline
You can get your all otl directories by:

echo $HOUDINI_OTLSCAN_PATH
User Avatar
Member
443 posts
Joined: 9月 2012
Offline
Check this one:

https://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&t=26537 [sidefx.com]
User Avatar
Member
443 posts
Joined: 9月 2012
Offline
And

http://www.circusmonkey.com.au/circusmonkey/OSTips.html [circusmonkey.com.au]
User Avatar
Member
230 posts
Joined: 10月 2009
Offline
PradeepBarua
You can get your all otl directories by:

echo $HOUDINI_OTLSCAN_PATH

Thanks for the reply, but I don't want to use HOUDINI_OTLSCAN_PATH, I want the HSITE, is not just the otls that missing, there python scripts, toolbars, dso, presets, icons, etc.

Also, I don't think it has to do with which env variable I am using, something else I am doing wrong using Houdini's env variables in OSX.
User Avatar
Member
918 posts
Joined: 3月 2014
Offline
Are you starting Houdini from that terminal session, or via the Finder?
Vars exported by bash are not system wide, you need to open a terminal and run the Houdini setup from there, then enter houdini or houdinifx to launch houdini from within that environment. That should do it. Depending on your OSX version, there are various methods for setting vars system wide.

I hope this helps.
User Avatar
Member
230 posts
Joined: 10月 2009
Offline
Andy58
Are you starting Houdini from that terminal session, or via the Finder?
Vars exported by bash are not system wide, you need to open a terminal and run the Houdini setup from there, then enter houdini or houdinifx to launch houdini from within that environment. That should do it. Depending on your OSX version, there are various methods for setting vars system wide.

I hope this helps.

from terminal, the houdini setup will run automatically with a script I have in .bash_profile and all I do is type houdinifx. Also, I am on OS X Yosemite.


The variables are recognized by houdini, from textport when I am running
setenv $HSITE
I will get the right path

But it seems to ignores everything inside there.
User Avatar
Member
918 posts
Joined: 3月 2014
Offline
As you mentioned it works at work on linux are you doing this from OSX in the same environment or at home?

This maybe obvious, but I just picked this up from the docs:

The $HSITE directory must contain a houdinix.y directory (such as houdini9.0). If no such directory exists, Houdini will not search in $HSITE.
User Avatar
Member
230 posts
Joined: 10月 2009
Offline
Andy58
As you mentioned it works at work on linux are you doing this from OSX in the same environment or at home?

This maybe obvious, but I just picked this up from the docs:

The $HSITE directory must contain a houdinix.y directory (such as houdini9.0). If no such directory exists, Houdini will not search in $HSITE.

Yup, I had totally forgot about that note on documentation. This way will work, now I have to find how to make it independent of Houdini's version same as in work.

Thanks Andy
  • Quick Links