extending your elements by building postage stamps of pre-defined nodes and rebuild them anywhere in the script without going back and forth.
connect
Updated: 31 March 2017
Author: falk.hofmann
Compatible Nuke versions: 9.0 or later
Compatibility:
the principle idea is based on a tutorial from FXPHD taught by Hugo Léveillé.
this script allows you to extend ie. your plate by adding a postage stamp and hide the input. it stores connections to certain nodes and rebuild those at any place of your script via a shortcut or a menu entry.
the menu items are added dynamically on creation and rebuild on start up via a callback.
connect will create Postage Stamps which have also two buttons. one to jump to the source node and another to open the source nodes properties
you can set up connect per request. the menu isn't build by default. after setting up connect, a new menu will be added. in this one you can store your selected nodes. each time a node is added to connect, a new entry is added as well. for the first 9 entries there will be a shortcut asigned: 'alt+1-9'.
there is an option to reset all your setup and start from scratch.
the stored selection is saved within the script. after closing and re-opening the menu will be recreted based on your stored notes.
for adding the setup menu:
nuke.menu('Nuke').addMenu('yourCustomMenu').addCommand('setup connect', 'connect.setup()', 'f2')