nuke.openPanels

nuke.openPanels()

nodesSelected() -> List

Returns:

a list of Nodes which have panels open. The last item in the list is the currently active Node panel.