[Sidefx-houdini-list] HDA python

Alvaro Castaneda varomix at gmail.com
Tue Jan 17 17:47:23 EST 2012

In the callback script parameter for the button add a call to the function
don't forget to change the languge to python, I always do :)
On Dec 6, 2011 7:41 AM, "vvvv jaihind" <vvvvfx at gmail.com> wrote:

> Hi
> I create a script in python module of the event handler section.
> my scene:
> I have a otl with only operator list parameter with the name List and a
> button with name OK
> my script:
> # this script evaluates the operator list and stores the name of the node
> the user chooses
> def lquery():
>        list=hou.parm('/obj/OK/List').eval()
>        lis=list.split(' ')
>        ll=[' ']
>        for each in lis:
>                nodeiterate=hou.node(each)
> now in the scene:
> the user select obj/pointlight1 obj/spotlight1
> the output will be a list pointlight1,spotlight1]
> All these are in the HDA
> Now if i click the OK Button it has to again print the list.
> How can this be done.It would be really great if someone can help me out.
> Thank you
> _______________________________________________
> 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