HIP relative path

   8270   8   3
User Avatar
Member
644 posts
Joined: Nov. 2013
Offline
Hi,

I noticed that if I use a local path such as “my.bgeo” ,it used home directory. Can I change this behaviors and make local path relative HIP ?
Could “$HIP/my.bgeo” be simplified to “my.bgeo” ?

Thanks.
User Avatar
Member
443 posts
Joined: Sept. 2012
Offline
What about using $HOME?
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
I think that's impossible !

Because simple path such as my.bgeo is reserved by Houdini , basically simple path is pointed to Program Files\Houdini<version>\houdini\geo in Windows or \opt\Houdini<version>\houdini\geo in Linux.

If you append a File SOP , you can see it just use a simple path defgeo.bgeo , and defgeo.bgeo is available in the \Houdini<version>\houdini\geo , so if you put any custom file such as Test.bgeo in the \Houdini<version>\houdini\geo , then you can use simple path Test.bgeo for calling it in the Houdini , (and it's not good !)
https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Member
644 posts
Joined: Nov. 2013
Offline
I think “$HIP” is redundant because you can never change it. Use “./” or just local path is enough.
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
jerry7
I think “$HIP” is redundant because you can never change it. Use “./” or just local path is enough.

What's your problem exactly ? why you wanna use different thing instead of $HIP !? :?
https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Member
644 posts
Joined: Nov. 2013
Offline
I use touchdesigner same time. In TD local path is relative to scene. I want a consistent habit.
User Avatar
Staff
3459 posts
Joined: July 2005
Offline
I think you can get what you want by starting Houdini in the location of your hip files…
I'm on linux so I always start Houdini from the directory where my hip files live…
I know on windows there is (or was) a setting on the application shortcut to tell windows to open the application from a particular location…instead of c/program files/houdini/…


HTH
Michael Goldfarb | www.odforce.net
Training Lead
SideFX
www.sidefx.com
User Avatar
Member
379 posts
Joined: Dec. 2006
Offline
jerry7
I think “$HIP” is redundant because you can never change it. Use “./” or just local path is enough.

I am using it 99% of time, and usually working and rendering on several machines….
User Avatar
Member
258 posts
Joined:
Offline
Use $JOB

That way you can set a project directory. When I do this I have a project directory, but unlike touch I have a hip directory instead of how the .toe files float at the root of the project. That way I have the two variables $HIP and $JOB and they are different. That way all my io expressions go like $JOB/bgeo

In certain cases I have run into trouble on a farm with $HIP, but never with $JOB

You can set aliases in Houdini a lot like you can in Touch Edit > Aliases and Variables. You can define and set whatever you want.

BTW - You can also edit the location of $HIP in the aliases and variables
  • Quick Links