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



From: adam jones 
Sent: Wednesday, April 03, 2013 6:16 PM
To: Nuke user discussion 
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