Group List of Lines With Close -y Coordinate

I have a list of lines. I want to group similar lines which have closer start point coordinate y. Because of milimetric differences List.GroupByKey does not work. How can I group close (like in a range of 250 mm) items?

Hello, really not sure that it works in different configurations, a possibility of initial reflection, not necessarily the most suitable

10 juillet forum anglais reponse3.dyn (24.0 KB)


Hi @cagataytahaoglu ,

You could perhaps do x/5 or x/10 to get a little bit more flexiblity after/ before your Math.Floor node

It works. Thank you.