Solved

Detecting where lines are not snapped to nodes (DWG)

  • 14 October 2016
  • 1 reply
  • 5 views

Badge

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.

icon

Best answer by itay 14 October 2016, 20:02

View original

1 reply

Badge +16

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