MitchellKehn
6/12/2018 - 2:27 AM

Invert Node Selection

Invert the selection status of all nodes.

for node in nuke.allNodes():
    node["selected"].setValue(not node["selected"].getValue())