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.
HIP relative path
8270 8 3- jerry7
- Member
- 644 posts
- Joined: Nov. 2013
- Offline
- PradeepBarua
- Member
- 443 posts
- Joined: Sept. 2012
- Offline
- Sadjad Rabiee
- 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 !)
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 !)
- jerry7
- Member
- 644 posts
- Joined: Nov. 2013
- Offline
- Sadjad Rabiee
- Member
- 1391 posts
- Joined: Dec. 2010
- Offline
- jerry7
- Member
- 644 posts
- Joined: Nov. 2013
- Offline
- goldfarb
- 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
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
- SreckoM
- Member
- 379 posts
- Joined: Dec. 2006
- Offline
- sl0throp
- 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
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