Try keeping the knob object when you create your String knob... self.stringKnob = nuke.String_Knob(....)
and then just use that object later on self.stringKnob.value() On Mon, Oct 3, 2011 at 11:47 AM, woei lee <[email protected]> wrote: > I added a PyScript_Knob on PythonPanel, > and I needed to setCommand on this PyScript_Knob on certain KnobChanged on > a String_Knob, an use the value from that String_knob, > can we do n=thisNode()['thatStringknob'].value() on PythonPanel? > > this is the error I got so far > TypeError: 'PanelNode' object is unsubscriptable > > Woei > > _______________________________________________ > Nuke-python mailing list > [email protected], http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > >
_______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
