Return the point coordinate if the the distance of point is larger than 2.6 to a line

Greeting,

There are multiple points and a line. I want to get a list of point coordinates if the distance between point and the line is larger than 2.6m.

This is what I et so far. The distance of points and the line and determine whether if it is larger than 2.6m. I meet the challenge to return the points’ coordinates which the distance

P2.dyn (57.7 KB)

D1.dwg (949.3 KB)

is larger than 2.6m to the line.

Hello @Steven2026
I would suggest something like this:

2 Likes

Hello @Steven2026

Try this graph. It creates a point perpendicular to the polyline or line and then calculates the distance between both points, allowing you to filter them according to the restriction you specified. I believe that using only Geometry.DistanceTo performs calculations on the faces of the objects, which may cause errors in the distance calculation.

In the following image, I show the calculation using only Geometry.DistanceTo. I mention this because when I measure it, I obtain the distance shown in green, while the required distance is the one shown in red.

Best regards.