(("sp25" (11095.0 51.4526 605.0) (605.0 . 1210.0)) ("vs" (11095.0 51.4526 0.0) (-8.52651e-014 . 235.0)) ("vs" (11580.2 35.8026 0.0) (-8.52651e-014 . 235.0)) ("sp10" (11095.0 51.4526 0.0) (0.0 . 605.0))) So the list consists of lists with: name, XYZ coordinate, MinZ Maxz.
Now I would like to collect all blocks with the same YX position in a sublist. So an extra level in the source list with alls blocks with same XY in a sublist. I tried it in several ways but I end up with long code and wrong results. Can somebody please help me with this?
Title: Re: Finding same XY coordinates is a list
Post by: Lee Mac on January 14, 2013, 11:02:46 AM
Here is a generic grouping function that I use regularly: