Quick node variable assignment

Code to assign the selected node to the variable 'n'. Shortcut is Alt+Shift+n.

Updated: 13 August 2010

Author: ant

Compatible Nuke versions: 5.2 or later

Compatibility: Linux, Mac, Windows

This is a real time saver!... when you just want to get hold of the selectedNode in your Script Editor.

Usage: Add this code to your menu.py, select a node in the DAG, and press Alt+Shift+n to assign it to the local variable 'n' in your script editor.

Sign in or register to download or rate.