How to group conduits based on intersecting walls

Hi
I have several walls and each wall may have some conduits in it. I need to group my conduits list based on the wall they have intersections with, so I can find the relative coordinates of intersection points based on the start point of the wall.
I tried a couple of approaches without luck and thus completely lost.

I would appreciate it if you could guide me on what to do.

Best Regards,
Farshid

Rhythm has a node called “Elements.GetIntersectingElementsOfCategory”. This would automatically group your conduit based on the list of walls inputted.

Thank you so much for the help!