Jump to content

Event Handler on a HDA inside HDA


makah21803

Recommended Posts

Hi,

I have an HDA (sop) that contains a different HDA (rop). The problem I have is that I need both of them to run a OnCreated event, but it seems to run only when user creates the node, not when it gets created as a part of a different hda (both have the OnCreated working, when I just create them separatelly).

Does anyone have a solution for this?

Thanks
Martin

Running: Houdini 17.5, Linux

Link to comment
Share on other sites

Hmm, this sounds like a bug, I see no reason for the embeeded node not executing its OnCreated event. Maybe submit a bug report.

As a workaround, in your top level HDA OnCreated you can manually call OnCreated event for the embedded node. (eval() the source code of OnCreated)

Edited by Stalkerx777
typo
Link to comment
Share on other sites

Im not sure its a bug, since its in H18 too, but Ill try to report it.

As for the workaround: I know I can manually call it from the parent HDA, the problem is that the HDA inside is used in several different hdas and this workaround would mean calling it from every parent hda separately.

I need a solution independent on what code is on the parent hda

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...