works a treet, I almost got there, it was the lindex I was missing.

cheers buddy
-adam



On Apr 04, 2013, at 12:21 PM, Nathan Rusch <[email protected]> wrote:

Depends on where is the version folder is in the path.
 
You probably want to start with something like: [lindex [split [value file] /] end-1]
 
-Nathan

 
Sent: Wednesday, April 03, 2013 6:16 PM
Subject: [Nuke-users] TCL print value question
 
Hey all
 
I wanted to be able to print a portion of a file path on the node in the dag.
 
of course I have started with [value file] which as you all know prints the whole path. I only wish to print the name of the version folder on the node.
 
any help would be great but for the mean time back to google.
 
cheers all
-adam

_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to