Hi everybody,

I am trying to build a dictionary as a 2D graph which is to show the adjacent points-lines. I have already checked the intersection by a boolean condition (Does.Intersect) and now I need to filter the nested list of lines (curves) according to the boolean value as a sublist of the point they intersect with.

I have tried this with code blocks and nodes but I still cannot see a right result. Here you can see the nested lists and the situation:

list of points:

List of Curves:

and the intersection checking

Important:

I cannot flatten the nested lists as I need the lists as the registration benchmark for later analysis. I cannot also use List.Flatten and List.Chop later as the number of the points and curves are not the same in each sub list in level@3.