Search - User list
Full Version: Houdini embed external obj in HDA
Root » Technical Discussion » Houdini embed external obj in HDA
xinyueli418
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!
Hatchery
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
opdef:../..?

So for example if it were a file node that linked to the obj model
$HIP/modelfolder/modelname.obj
you would change it to
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]
AnimGraphLab
Adding this just for the sake of visual clarity for future googlers about what Hatchery already said.

arturmandas
Hatchery & AnimGraphLab thank you very much, most impressive.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB