Hello all!
I want to embed an external obj file in Houdini digital asset. Tried a few methods including add file in Edit Operator Type Properties. However, the saved .hdalc file is still empty. Any idea why and how can I fix this? Thank you!
Houdini embed external obj in HDA
3723 6 2-
- xinyueli418
- Member
- 1 posts
- Joined: 3月 2021
- オフライン
-
- Hatchery
- Member
- 141 posts
- Joined: 3月 2016
- オフライン
Hello - I was just doing exactly this today.
As you suggest you first add the file to the 'Type Properties' 'Extra Files' tab.
Then you need to go to your references on the import/file node and change from the folder or $HIP location to
So for example if it were a file node that linked to the obj model
you would change it to
https://www.sidefx.com/docs/houdini/assets/opdef.html [www.sidefx.com]
and if you have a whole load of these then you can do it automatically in the textport -
https://www.sidefx.com/forum/topic/84427/ [www.sidefx.com]
https://www.jamesrobinsonvfx.com/tips/workflow/2021/03/26/opchange/ [www.jamesrobinsonvfx.com]
As you suggest you first add the file to the 'Type Properties' 'Extra Files' tab.
Then you need to go to your references on the import/file node and change from the folder or $HIP location to
opdef:../..?
So for example if it were a file node that linked to the obj model
$HIP/modelfolder/modelname.obj
opdef:../..?modelname.obj
https://www.sidefx.com/docs/houdini/assets/opdef.html [www.sidefx.com]
and if you have a whole load of these then you can do it automatically in the textport -
https://www.sidefx.com/forum/topic/84427/ [www.sidefx.com]
https://www.jamesrobinsonvfx.com/tips/workflow/2021/03/26/opchange/ [www.jamesrobinsonvfx.com]
Love Houdini
-
- AnimGraphLab
- Member
- 67 posts
- Joined: 5月 2019
- オフライン
-
- arturmandas
- Member
- 38 posts
- Joined: 11月 2012
- オフライン
-
- olivierth
- Member
- 1184 posts
- Joined: 4月 2017
- オフライン
-
- EZiniT
- Member
- 74 posts
- Joined: 4月 2013
- オフライン
-
- olivierth
- Member
- 1184 posts
- Joined: 4月 2017
- オフライン
OOOOOHHHHHHHHHHHHHHHH!!! I was missing some important infos. This video fixed that, thank your very, very much!
For anybody doing this, when you add the geo files (Type Properties -> Extra Files -> Add File), it acctually copies the file to a Houdini folder. (installion folders, maybe, not sure...)
When you want to replace the file path in your HDA to the new copied file I just talked about, you should do it from the File sop browser by clicking on the opdef:/ shortcut (on the left side). If your HDA was created at SOP level, browse inside the Sop folder. You should find a folder with the exact name of your HDA. That's where you'll find the file!
EDIT: My method gives me this:opdef:/Sop/Oli_Roof_Tilling?TempleTiles.bgeo but I was told to use opdef:..?TempleTiles.bgeo instead.
You can follow the tutorial EZiniT talked about here. Its in the section 8 (Create Capture Rig Digital Asset) at the 5 minute mark.
https://www.sidefx.com/tutorials/foundations-rig-fur-dude-with-kinefx/
[www.sidefx.com]
For anybody doing this, when you add the geo files (Type Properties -> Extra Files -> Add File), it acctually copies the file to a Houdini folder. (installion folders, maybe, not sure...)
When you want to replace the file path in your HDA to the new copied file I just talked about, you should do it from the File sop browser by clicking on the opdef:/ shortcut (on the left side). If your HDA was created at SOP level, browse inside the Sop folder. You should find a folder with the exact name of your HDA. That's where you'll find the file!
EDIT: My method gives me this:opdef:/Sop/Oli_Roof_Tilling?TempleTiles.bgeo but I was told to use opdef:..?TempleTiles.bgeo instead.
You can follow the tutorial EZiniT talked about here. Its in the section 8 (Create Capture Rig Digital Asset) at the 5 minute mark.
https://www.sidefx.com/tutorials/foundations-rig-fur-dude-with-kinefx/
[www.sidefx.com]
Edited by olivierth - 2026年1月7日 15:59:52
-
- Quick Links




