Reconnect nodes NSSelectorFromString

I’m looking for a reconnect nodes shortcut but I can’t find any.
I’ve found partly a solution in the forum but I can’t find the
“reconnectNodes” equivalent to “connectNodes” in the API Core documentation.

The Connect Nodes script I want to use as a base:

#MenuTitle: Connect Nodes
# encoding: utf-8
from Foundation import NSSelectorFromString
print Font.currentTab.graphicView().tryToPerform_with_(NSSelectorFromString("connectNodes"), None)

Do you know where I could find this info to make it work?

It appears I overthought it, it didn’t need a script to work, but I made a typo in the name of my shortcut in preferences.
You can remove/ignore this.

1 Like