Thanks Michael!
I'll have to talk to the pipeline guys about getting this integrated
facility-wide, but I'll test it out locally right now.
I appreciate it!
-n
On Jul 19, 2011, at 8:45 AM, Michael Havart wrote:
> Yeah, I don't why but it's not refreshing...
>
> try this simple callback (make sure the pulldown name is 'menu' and the
> backdrop is 'backdrop')
>
> def changeLabel():
> if nuke.thisKnob().name() == 'menu':
>
> nuke.toNode('backdrop').knob('label').setValue(nuke.thisKnob().value())
>
> nuke.callbacks.addKnobChanged(changeLabel, args=(), kwargs={}, nodeClass =
> 'Root' )
>
> cheers,
> Michael
>
>
> On 19 July 2011 16:35, Ned Wilson <[email protected]> wrote:
> Hey all,
>
> In the root node, I have created one custom EnumerationKnob or drop down
> list. I have named it water_label.
>
> I have several switch nodes that are expression linked to this knob like so:
> "[numvalue root.water_label]". These update in real time.
>
> However, I wanted to use a Backdrop ( or a Note, or a NoOp node ) to display
> the text in the drop down in an easy-to-read fashion to someone who opens the
> script for the first time.
>
> The only issue is, try as I might, these will NOT update in real time! I have
> tried the following two command strings, to no avail:
>
> [value root.water_label]
> [python nuke.root().knob("water_label").value()]
>
> Has anyone else noticed this behavior? Am I doing something wrong, or is this
> a bug? If it's a bug, is there a known workaround?
>
> Thanks!
>
> -n
>
> _______________________________________________
> Nuke-users mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>
> _______________________________________________
> Nuke-users mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users