WRITE_PATH_AUTOMATICALLY_MOV_AND_EXR

Automatically set render path in your selected write node. Note : Always try to render with this format ' shotname_version.%04d.exr ' as the script will not work properly if it has an underscore ' shotname_version_%04d.exr '

Updated: 6 May 2025

Author: vyomsince1999

Compatible Nuke versions: 11.0 or later

Compatibility: Linux, Mac, Windows

 Make sure your nuke toolbar has this Vspace menu in it, if not then paste this in your menu.py file - 

#####################################

toolbar = nuke.toolbar('Nodes')
vspacemenu = toolbar.addMenu('vspace', icon='Vspace.png')

#####################################

Automatically set render path in your selected write node, This will create a render path according to your folder structure - as I have a folder structure where I save my render in the 'Comp/Render/shotname_version/EXR/shotname_version.%04d.exr' so if you have only comp folder then it will create rest of the folders itself or if you have any other it will then adjust and create by its understanding, also you can manage it by tweaking paths and also it will make the render version same as the file version so whenever a shot comes for correction you will not have to think which version it is like the render and the file version would be the same.

Note : Always try to render with this format ' shotname_version.%04d.exr ' as the script will not work properly if it has an underscore ' shotname_version_%04d.exr '

Apache License 2.0

Sign in or register to download or rate.