Hm, how odd that redraw() doesn't take care of that. Thanks for the workaround though.
Regards, Fredrik On Thu, Sep 25, 2014 at 6:39 PM, Nathan Rusch <nathan_ru...@hotmail.com> wrote: > The only way I know is to disable and re-enable the node. Node.redraw() > should probably do this as well, but it doesn't. > > -Nathan > > > *From:* Fredrik Averpil <fredrik.aver...@gmail.com> > *Sent:* Thursday, September 25, 2014 8:44 AM > *To:* Nuke Python discussion <nuke-python@support.thefoundry.co.uk> > *Subject:* [Nuke-python] Force-update Write node's label value > > > Hi, > > Is there a way I can, using python, force-update the label of a Write node > - or the labels of all Write nodes in my script? > > The label currently reads a custom knob value which I store on nuke.root(). > And when this value changes, the Write node’s value doesn’t update. So I > figure I need to tell it to do that. > > Any idea on how to achieve this? > > Regards, > Fredrik > > > ------------------------------ > _______________________________________________ > 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 > > > _______________________________________________ > 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 > >
_______________________________________________ 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