Tools for selecting "all" / "all connected" nodes that are above, below, left, right (inclusive) of the selected node.
selectUpDown
Updated: 26 April 2012
Author: mrhowardjones
Compatible Nuke versions: 6.0 or later
Compatibility: Linux, Mac, Windows
1 2 3 4 5 6 7 8 9 10 11 |
m = nuke.menu("Nuke") m.addCommand('Edit/SelectConnected/Above', 'nuke.load("selectUpDown"), selectUpDown(direction="up", all="connected")') m.addCommand('Edit/SelectConnected/Below', 'nuke.load("selectUpDown"), selectUpDown(direction="down", all="connected")') m.addCommand('Edit/SelectConnected/Left', 'nuke.load("selectUpDown"), selectUpDown(direction="left", all="connected")') m.addCommand('Edit/SelectConnected/Right', 'nuke.load("selectUpDown"), selectUpDown(direction="right", all="connected")') m.addCommand('Edit/SelectAll/Above', 'nuke.load("selectUpDown"), selectUpDown(direction="up", all="all")') m.addCommand('Edit/SelectAll/Below', 'nuke.load("selectUpDown"), selectUpDown(direction="down", all="all")') m.addCommand('Edit/SelectAll/Left', 'nuke.load("selectUpDown"), selectUpDown(direction="left", all="all")') m.addCommand('Edit/SelectAll/Right', 'nuke.load("selectUpDown"), selectUpDown(direction="right", all="all")') |
Tools for selecting "all" / "all connected" nodes that are above, below, left, right (inclusive) of the selected node.
So you can open up the script moving all nodes in the desired direction.
Please note in connected mode back drops will not be selected.
Howard