Skip to main content

I have .dwg file with large number of lines which are snapped to points, so they form closed polygons. I would like to create closed polyline from snapped lines so i can calculate area of polygon, and the main criteria is that lines are snapped to node of point, which is not always the case (lines are often snapped to endpoint, nearest point, or not even closed). My question is: how can i detect where lines are not snapped to nodes of points, so i can manually snap them?

Thank you for answers.

Hi @zolja87, You can use the PointOnLineOverlayer with a very small tolerance, all lines emerging with _overlaps = 0 are not within the tolerance distance to any point(s)

Hope this helps.


Reply