[Sidefx-houdini-list] Calling menu script from another parameter callback

Pablo Giménez pablogipi at gmail.com
Wed May 4 20:57:58 EDT 2011


Thanks Graham, I'll give it a try.

2011/5/5 Graham Thompson <captainhammy at gmail.com>:
> You can force a menu script to cook by calling a method on the
> scripted parm since it will want to make sure it is updated before
> giving you the information.  I usually call hou.Parm.menuItems() when
> I need a menu script parameter to recook itself.
>
> 2011/5/4 Pablo Giménez <pablogipi at gmail.com>:
>> Hi all.
>> I have a couple of parameters, both of them are menus, and both of
>> them use a python script to define the contents of this menu.
>> The second menu contents depends on the value of the first one, so
>> what I need is to update the second parameter every time the first one
>> change.
>> My problem is that I don't know how to call to a parameter menu script
>> from a callback script from another parameter.
>> Is there anyway to do it, preferably using python?
>> thanks.
>>
>> --
>> Un saludo
>> Best Regards
>> Pablo Giménez
>> _______________________________________________
>> Sidefx-houdini-list mailing list
>> Sidefx-houdini-list at sidefx.com
>> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>>
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>



-- 
Un saludo
Best Regards
Pablo Giménez



More information about the Sidefx-houdini-list mailing list