n['file'].evaluate()
On Tue, Aug 2, 2011 at 10:25 AM, Torax Unga <[email protected]> wrote: > Hi, > I have a read node with an expression in the 'file' knob. How can I have > access to the result of the expression. > > NoOp { > name noop > addUserKnob {20 User} > addUserKnob {2 filein} > filein /path/to/image.%04d.dpx > } > Read { > inputs 0 > file "\[value noop.filein]" > name readnode > } > > > This just outputs the expression string: > > n = nuke.toNode('readnode') > print n['file'].value() > > thanks in advance. > > T > > > _______________________________________________ > 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
