Hello. I’m interested in this

http://www.nukepedia.com/tcl/write-nodes-filename-from-topmost-read

but the problem I have is the same as somebody in that thread. If we’re reading 
a sequence with frame numbers, the frame number is included in the file name:

ex:
fu/bar/FILE_NAME/FILE_NAME_0000.exr

I get

fu/bar/FILE_NAME/FILE_NAME_0000.mov

but I want

fu/FILE_NAME.mov

any tips on how to modify that TCL to dow what I want?

> [file dirname [knob [topnode].file]]/[lindex [split [lindex [split [knob 
> [topnode].file] .] 0] /] end]_conv.%04d.exr

Gary Jaeger / 650.728.7957 direct / 415.518.1419 mobile
http://corestudio.com <http://corestudio.com/>
_______________________________________________
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to