Extend line to line

How can I extend line 11 and 10 to line 7? All are planar.

exampleFile.3dm (18.0 KB)

Hi Jordy,

I think this can be done with:
Curve.Extend Method (CurveEnd, CurveExtensionStyle, IEnumerable(GeometryBase))
Extends a curve until it intersects a collection of objects.

http://4.rhino3d.com/5/rhinocommon/?topic=html/M_Rhino_Geometry_Curve_Extend_1.htm

-Willem

Hi Willem,

Thanks. I found my problem. Had to create curves instead of lines…
Curves are easier to extend. Thanks :slight_smile:
and I have used Curve.ExtendByLine