Help with a Script to split conduits along grid lines

So I’m having some problems with a script I’m writing and could really use some help.

I have a revit model with electrical conduits spiderwebbing all over the place.

For scheduling reasons I’m trying to break the conduits along the grid lines.

I was able to write the script you see below.

Top left part finds the grids. Bottom left finds the conduit paths. I was hoping to use the middle group to find where the groups intersect and use something (probably curve.splitbypoints but I need to get the earlier parts working first) to break the conduits. But the middle group isn’t showing anything intersections.

I haven’t tried something like this before so I’m not sure why this isn’t working.

I think this has something to do with the gridlines being 2 dimensional but I’m honestly now sure.