[Sidefx-houdini-list] Trigger callback script on delete multiparm item
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:
> 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?
> Be Nick, be Nimble
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
More information about the Sidefx-houdini-list