Hi, community, I’m looking for a method to get the variable outputs from one component automatically merge (track the all the outputs of first node and connect them to single input of second component). I want the script to be able to adapt to different output count of the component output:
I’m not into C# yet but thats probably a good point to start from
I just wonder if that component “Updates” the connection? I mean when press&hold toggle-value is false, does it disconnect and then reconnect again meanwhile?
This version uses the position to determine which components are to connect.
It search 10pixel away from top left corner of c# script to find “from” and on top right for “to”.
“From” should be a generic non-parameter component, “To” should be a parameter (any, probably).
It seems not. Any new connection that did already exist is ignored… it seems.
The button become “True” once you click it, and already trigger a recomputation “wave” to its recipients … “holding” usually will not mean anything. Then, when you release the click, it will trigger again and become “False”, but then the c# script will just skip all of its internal code because of the initial “if(” …