[Sidefx-houdini-list] Trigger callback script on delete multiparm item
Nick van Zutphen
nvanzutphen at live.com
Mon Apr 9 15:15:13 EDT 2012
That is a pitty isn't it? I guess we end up in a world where we would like to have a more adjustable interface. Its pretty cool already but with a little more love the possibilities could be endless. I noticed 'more interface control' in the H13 wishlist on Odforce. Next to my precious crowdsims, I do hope the interface will get some attention. ;-)
I'll ask martin to increase the weight parameter on this RFE. I do hope its not a multiparm, just to make sure it gets updated properly ;-).
Be Nick, be Nimble
On Apr 9, 2012, at 6:48 PM, Andrew Lyons wrote:
> There is currently no callback that fires when you add/delete a spare
> parm that allows you to keep an external structure perfectly in synch
> with a node's parms. (Nor sure about a multiparm specifically - but
> would guess it's the same.) I have a bug/RFE filed with SESI about
> this. Feel free to add weight to it. :)
> Currently onModified is the best callback you can get. Unfortunately
> it fires more often that you would want, and because it doesn't know
> which parm got modified (like parmTupleChanged) you have to update
> everything every time. :(
> On 9 April 2012 10:08, Nick van Zutphen <nvanzutphen at live.com> wrote:
>> Hmm, that doesn't sound very solid, does it? I don't like the multiparm for this particular purpose.
>> Initially I was thinking about using a custom button to add a set of parameters including a delete button. This would give me al the control I need, how ever I diverted from this because I thought that it would be kind of a hack and not the 'Houdini' way. If it turns out there is no Houdini way, I'm tempted to use my initial method.
>> Be Nick, be Nimble
>> On Apr 9, 2012, at 5:48 PM, Graham Thompson wrote:
>>> 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
>>> Sidefx-houdini-list mailing list
>>> Sidefx-houdini-list at sidefx.com
>> Sidefx-houdini-list mailing list
>> Sidefx-houdini-list at sidefx.com
> Andrew D Lyons | Digital Artist | http://www.tstex.com
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
More information about the Sidefx-houdini-list