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

Reply via email to