[Sidefx-houdini-list] Trigger callback script on delete multiparm item

Graham Thompson captainhammy at gmail.com
Mon Apr 9 12:48:14 EDT 2012

The closest you can get is to add a hou.nodeEventType.ParmTupleChanged
callback to a node.  This doesn't really provide direct information as
to what exactly changed (when you add/remove an instance the callback
is fired for every parm in and including the multiparm block), but you
could probably figure out which parm it was that no longer exists and
remove the data accordingly.

On Mon, Apr 9, 2012 at 9:37 AM, Nick van Zutphen <nvanzutphen at live.com> wrote:
> Hi!
> I'm running into the situation where I use a mulitparm list to populate a dictionary using callback scripts. When I delete a multiparm item, I would like to delete the corresponding dictionary item using a script. Is it possible to trigger a callback on pressing the X icon? Any alternatives?
> Cheers,
> Be Nick, be Nimble
> ----
> http://www.nickvanzutphen.com/ngtl
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list

More information about the Sidefx-houdini-list mailing list