nuke.invertSelection

nuke.invertSelection() None

Selects all unselected nodes, and deselects all selected ones.

Returns

None.