Detect entities within boundaries of a polyline

Detect entities within boundaries of a polyline

stardust1611
Enthusiast Enthusiast
840 Views
1 Reply
Message 1 of 2

Detect entities within boundaries of a polyline

stardust1611
Enthusiast
Enthusiast

Hi everybody. How to detect entities, e.g. like small line fragments, within boundaries of a polyline? I know how to detect intersections, but in case when the entity is fully inside the boundaries of a polyline, and there are no intersections, how to detect that entity?

0 Likes
Accepted solutions (1)
841 Views
1 Reply
Reply (1)
Message 2 of 2

_gile
Consultant
Consultant
Accepted solution

Hi,

 

If the polyline has only linear segments, you can use the Editor.SelectWindowPolygon() method passing it the polyline vertices.



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

0 Likes