Group lines by vector, then by intersection (distance to < 0.1 m)

Hello everyone,

I need to merge lines in Dynamo Revit to make sure the second part of the script works well.
I have tried to group the lines by intersection and then the vector but this creates some problems if the lines overlap like this: # I used this script + python script for this.

I would like to group my lines by vector first (i got this working) and then by intersection.

I found the solution :slight_smile:

I found a node in the springs package:

1 Like