Hello, I know how to write a code that automatically connects FlexSim objects with the closest Network Node .
Because we’re talking about thousands of objects it might be faster just to use the FlexSim Healthcare “auto connect” feature, which I have seen works very fast and it might be better than checking all the distances of all the nodes for selecting and connecting the closest one.
Could you please share with me that code in order to use it on a button that I can create in FlexSim for that purpose?
Thanks.