Trim Curves not intersect but Z project

Hi All,

I’m trying to trim a set of curves with another single curve, however, at some locations they are not intersected.

In the uploaded GH file, I also did another walk-around version by Extrude Crvs > Brep/Curve. Although it works but later on i will have x10 amount of the curves to do the same thing…
Wondering if there’s a more efficient way to do so? (Like in Rhino can trim from extend line)

Thanks.

Trim crvs not intersect.3dm (127.6 KB)
Trim crvs not intersect.gh (9.8 KB)

Thank you, that’s exactly what I’m looking for. Learned new stuff!