Hi everybody, I have some very simple code i'm trying to put inside a button

n = nuke.toNode('myGroup')
> p = n['myDropDown'].value()+"_dot"
> node = nuke.toNode(p)
> nuke.zoom( 1, [ node.xpos(), node.ypos() ])


Should work, works when i'm just executing it in the scripteditor, so I
guess the button knob operates in a different context somehow? do anybody
have any idea of how to get around this?

Thanks :)
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to