How to find point location on line

Hi All

Need some help here to how to find point distance on line ??

I Can get lines using Element.IntersectsElement and few more nodes to find clashing lines.

But from there i stuck cant find a way to tell how far point is set from line start point

Can any one help me here please.

Regards

Take the point where the lines intersect and the SP, draw a line with Line.ByStartPointEndPoint and use Curve.Length :slight_smile:

1 Like

Curve.ParameterAtPoint and Curve.SegmentLengthAtParameter would also work here, might be a bit quicker, and will work with non-linear curves as well as lines.

2 Likes