works a treet, I almost got there, it was the lindex I was missing.
cheers buddy
-adam
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]-NathanFrom: adam jonesSent: Wednesday, April 03, 2013 6:16 PMSubject: [Nuke-users] TCL print value questionHey allI 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
_______________________________________________ Nuke-users mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
