Rename Nodes

Renames all the currently selected nodes sequentially

Updated: 20 June 2010

Author: diogoadmin

Compatible Nuke versions: 5.1 or later

Compatibility: Linux, Mac, Windows

renameNodes.py will rename all the currently selected nodes sequentially.

 

1
2
3
4
5
6
import <package> #package where the script is installed
 
menu = nuke.menu('Nuke')
m = menu.findItem('Edit')
sm = m.findItem( 'Node' )
sm.addCommand( 'Rename Nodes', '<package>.renameNodes()', 'F2', index=1 )

In the example above the script is added to the Edit > Node > Rename Nodes menu and assigned to the F2 shortcut.

 

Sign in or register to download or rate.