Set project settings from read node v1.0


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Isaac Spiegel
This Python script takes looks at the selected read node and sets the project full-size format, aspect ratio, and frame range to that of the read node. If the full-size format does not exist in the current user's list of formats, it prompts the user to name the new format before setting the project settings. Useful when first creating a script and you want to quickly set your project settings.
Requirements:
11.3, 11.2, 11.1, 11.0, 10.5, 10.0 or later
24 Mar 2020
410

Description

This Python script takes looks at the selected read node and sets the project full-size format, aspect ratio, and frame range to that of the read node. If the full-size format does not exist in the current user's list of formats, it prompts the user to name the new format before setting the project settings. Useful when first creating a script and you want to quickly set your project settings.

This code should work across all versions of Nuke, however, I've only been able to test it on Nuke 11.2v4 for Linux and Windows as that's what's available to me at the moment. Please let me know if this works well on other OS or Nuke versions.

 

Installation

  1. Download the script and place it in a folder contained in the .nuke directory that is loaded when nuke launches. (Typically a folder named 'Python', nested inside the .nuke folder, make sure this is loaded inside the init.py file)
  2. Copy the 2 lines of code under the 'ADD TO MENU.PY' to your menu.py (don't forget to remove the comment #s)
  3. When Nuke launches, there should be a new menu at the top bar called 'Utilities' with the 'setProjectSettings' code nested inside
  4. To run the script, selected one read node, and select 'setProjectSettings' from the dropdown menu, or use the hotkey 'meta+s'
Please login in order to download these files.

Comments   

 
0 # Ruben Mulas 2020-05-21 11:51
Thanks man!! cool script!

I have a proposal that could be interesting. Could you also modify the "project directory"? ie. in the pop-up window there could be an option to put the path. I'm just saying this as a suggestion that I'd like the script to have
 

You have no rights to post comments

We have 2946 guests and 116 members online