Download

Run Python from Houdini HDA

I am using Houdini Engine to create Vertex Animation Texture assets in Unreal. I have a python script that I call from the bottom of the Output Log. It imports the VAT assets into the content browser. I would like a button on the HDA that will call that script. I tried scripting a callback function in the HDA’s Type Prperties window, but I don’t think I have the right code to get the HDA to “find” Unreal’s python command line and run the python script there. Has anyone done anything like that? Any advice?