Render and Save Script

In this code, a new directory called 'rendered_script' will be created within the output folder, and the Nuke script will be saved in that directory as a separate file with the same name. The code handles the creation of the directory if it doesn't exist. Please replace the previous code with this in your menu.py file. The 'Render and Save Script' button will now save the Nuke script as a separate file in the 'rendered_script' directory within the output folder.

Updated: 12 July 2023

Author: ravi79

Compatible Nuke versions: 13.2 or later

Compatibility: Windows

 

In this code, a new directory called 'rendered_script' will be created within the output folder, and the Nuke script will be saved in that directory as a separate file with the same name. The code handles the creation of the directory if it doesn't exist.

 

Sign in or register to download or rate.