Skip to main content
Solved

Detecting where lines are not snapped to nodes (DWG)

  • October 14, 2016
  • 1 reply
  • 20 views

Forum|alt.badge.img

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.

Best answer by itay

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.

View original
Did this help you find an answer to your question?

1 reply

itay
Supporter
Forum|alt.badge.img+17
  • Supporter
  • Best Answer
  • October 14, 2016

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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings