User defined cable start and end point

If you cannot show the script in the function, no one can help you.

  • make a new function
  • copy the nodes
  • add pins
  • call function