MEP Connector Info

Does anyone know, if there is a way to “lock” these outputs from MEP Connector Info, so they don’t change place?

I want to subtract the 2 values in each list, but if the value change places when I run the script, the output values wont be consistent. How to avoid this?

I can only upload one image, so the rest will be in the first post.

To get a consistent order in your lists you should try to find a property of the connectors to sort by. For instance: you could sort your connector by their direction value and then sort your list accordingly.
You could also look up some more info to possible sort by with the separate connector nodes or use the MEP Connector info+ node.

2 Likes

Hmm, so I tried the SortByKey, but it didn’t give me the result I was looking for.

When sorting by direction’s vector x value the values also change, because the direction values change. So every time I run the script it will give me a new sorting.