Very cool tip Hugo. I never knew about that one. Thanks!
From: [email protected] [mailto:[email protected]] On Behalf Of Frank Rueter Sent: Wednesday, April 04, 2012 6:29 PM To: [email protected] Subject: Re: [Nuke-python] Getting path info from Node nuke.filename() is often more useful, as it optionally resolves any expressions and sequence notation: nuke.filename( nuke.toNode('Read1'), nuke.REPLACE ) On 4/5/12 10:07 AM, Hugo Leveille wrote: f = read['file'].value() print f Sent from my iPhone On 2012-04-04, at 6:05 PM, "Toki Wartooth" <[email protected]> <mailto:[email protected]> wrote: Hi Everyone, I have a simple python script that I'd like to set the value of a Read node to something like fileinput and then use said variable. In tcl I could just use [value Read1.file] .. what would the equivalent way, or a way to grab the path. so if Read22 = //myserver/shows/projectx/000/001/projectxfiles.0001.dpx how could I derive that in python.. Cheers, Toki _______________________________________________ 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
_______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
