Currently using python in read nodes is very slow. I suggest you stick with tcl.
-deke On Mon, May 2, 2011 at 10:01, Brandon Harris <[email protected]> wrote: > And that is something I would like to avoid. Is this even possible without > using TCL? I can setup expressions for knobs elsewhere using the this.knob, > parent.knob, root.knob, why is a file path handled differently? > > Brandon L. Harris > > > On 05/02/2011 11:33 AM, Nathan Rusch wrote: > > Technically that’s still TCL though... > > -Nathan > > > From: Hugh Macdonald > Sent: Monday, May 02, 2011 8:55 AM > To: Nuke Python discussion > Subject: Re: [Nuke-python] Python in file paths > > Probably the most straight forward way to do this would be to actually > define what needs to be done in another function. > > You can then set the file path to be: > > [python myFunc()] > > And then make sure that myFunc() returns a string... > > Hugh Macdonald > nvizible – VISUAL EFFECTS > > [email protected] > +44(0) 207 659 2038 > +44(0) 7773 764 708 > > www.nvizible.com > > On 2 May 2011, at 16:41, Brandon Harris wrote: > > I know that it's possible to use tcl in node filename knobs. Is there a > pythonic way of accomplishing this? Something along the lines of > /my/path/to/{this.name}/{parent.someKnob}. > The ability to have expression based paths would be very nice and I would > prefer not to have tcl in my current pipeline. > > Brandon L. Harris > > _______________________________________________ > Nuke-python mailing list > [email protected] > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > > > > ________________________________ > _______________________________________________ > Nuke-python mailing list > [email protected] > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > > _______________________________________________ > Nuke-python mailing list > [email protected] > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > > > _______________________________________________ > Nuke-python mailing list > [email protected] > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > > _______________________________________________ Nuke-python mailing list [email protected] http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
