code: def setCurrentNode(self, node):
          
          self.blockSignals(True)
          self.clearSelection()
          if node:
              node.setSelected(True)
          self.blockSignals(False)
docs: Sets the currently selected node in the scene.  If \
          multiple nodes are selected, then the last one selected \ 
          will be considered the current one.
          
          :param      node | <XNode> || None