I would like to simplify a perimeter curve, which now consists of many Lines, by grouping the Lines if they have a similar direction. For example, if the angle between two lines is less than 15 degrees.
I have tried several possibilities, but each time it was not the right solution and/or the lists became very confusing (one of my attempts is attached in the dyn-file).
Some pointers in the right direction would be great!
I have put the start and end points of some test lines in Excel, so that you do not have to run the other .dyn-file including all the files (Revit, etc.) that go with it.