*TCL*
/new/path/to/file/[regsub ".mov" [file tail [value Read1.file]] ".%04d.exr"]
or
[regsub ".mov" [value Read1.file] ".%04d.exr"]
*Python*
/new/path/to/file/[python
os.path.basename(nuke.toNode('Read1').knob('file').value()).replace('.mov',
'.%04d.exr')]
[python nuke.toNode('Read1').knob('file').value().replace('.mov',
'.%04d.exr')]
cheers,
diogo
On Thu, Oct 10, 2013 at 10:36 PM, Darren Coombes <[email protected]>wrote:
> Hi All, I'm trying to make a write node that's connected to a quicktime
> movie that exports an jpg seq, and i want the filename to be the same as
> the quicktime movie.
> Is there a way to tell nuke to name the file the same as the read, but
> with the .%04d.jpg on the end?
>
> Thanks.
>
> *
> Darren Coombes - VFX Compositor
>
> Check out some of my work…
> www.vimeo.com/53990514
>
> Mob: +61 418 631 079
> Skype: darrencoombes
> Twitter: @durwood81
> *
>
>
> _______________________________________________
> 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