.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Detect entities within boundaries of a polyline

1 REPLY 1
SOLVED
Reply
Message 1 of 2
stardust1611
479 Views, 1 Reply

Detect entities within boundaries of a polyline

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?

Tags (1)
1 REPLY 1
Message 2 of 2
_gile
in reply to: stardust1611

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost