Jump to content
makah21803

Event Handler on a HDA inside HDA

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

Share this post


Link to post
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

Share this post


Link to post
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

 

Share this post


Link to post
Share on other sites

Response from SideFX: This currently isn't supported.

Lets hope it will get added in the future :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×