Generate a new node with python script in unreal

   1810   2   1
User Avatar
Member
20 posts
Joined: Dec. 2018
Offline
So, as the topic, I am trying to generate a curve node in unreal with python through a button

with the button I used: hou.node(“./”).hdaModule().createFunc(hou.node(“./”))

in the python module:

def createFunc(hda_node): hda_node.createNode functions

So it works fine in Houdini, everything as expected, but this button is not functional in unreal, and is there any way to debug in HDA??
User Avatar
Member
11 posts
Joined: June 2019
Offline
i'm bumping this question
User Avatar
Staff
534 posts
Joined: Sept. 2016
Offline
Hi,

To debug the issue, the easiest way would be to use session sync.

I see a few things that could cause issues:

- When using HDA and promoting button from another node, that node needs to be set as an editable node in the parent HDA.

- The HDA is locked when used via HEngine, so you won't be able to create nodes inside of it.
You could create nodes inside an editable subnet in the HDA, or outside of the HDA.
  • Quick Links