hda scripted Event handler

   1838   1   0
User Avatar
Member
33 posts
Joined: May 2015
Offline
Is it possible to script (python) the creation of hda's Event handler?

For example (manually):
HDA –> Edit Operator Type Properties –> Event Handler = On Created

node = kwargs
print ‘CREATED’, node


Pipeline wise, I would need to automate that operation, I need to be able to ‘insert’ various Event Handler, everytime an artist creates a hda, via programmation.

Thanks,
Jonathan
User Avatar
Member
2539 posts
Joined: June 2008
Offline
Why not just install a standard event handler that reads an external file for commands? Then you can write to the external file and when the event handler activates it will process commands by reading that file?
Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
  • Quick Links