Houdini Engine Set HDA attributes via blueprint

   841   1   1
User Avatar
Member
15 posts
Joined: July 2015
Offline
So im making a blueprint to set custom static meshes for the HDA import (has to be through a blueprint because I have to construct a dictionary while exporting the static meshes to the HDA)
One thing I am struggling with is finding the names of the HDA attributes so I can set them during export.
I dont need the full mesh export and there is an option called "Export Input as Reference".
However I dont know what its named under the hood. In houdini you could just hover over a label and it would tell you the name of that attribute.
Here it doesnt tell you anything. Im exporting
Im exporting static meshes via the "Set Input at Index" and the index is 0 (here called House_Models_Input)
I cant find anything under the documetation that explains how these parameters are called, just how to write to your own custom parameters (which im already doing with the dictionary).

Attachments:
Screenshot 2025-02-20 142100.jpg (93.9 KB)

User Avatar
Member
15 posts
Joined: July 2015
Offline
Ok I found it.
You have to get inputs at indices (your HDA input, so starting from 0). This gets you a map of inputs and the corresponding API input object ref. Because my geo is on input 0 thats what I have selected. This essentially brings me the "menu" of input 0. From there I can set the Import As Reference boolean as true (under the hood name shows as bImportAsReference).
I guess the label was changed at some point to Export Input as Reference so there's a disconnect here.
And then all thats left is to add it back to the map (at same position 0) and then set the map with a set inputs at indices to save changes.

Edited by IgnasPocius - Feb. 20, 2025 12:08:11

Attachments:
Screenshot 2025-02-20 170508.jpg (314.6 KB)

  • Quick Links