.NET

Reply
Active Contributor
stardust1611
Posts: 40
Registered: ‎11-29-2008
Message 1 of 2 (113 Views)
Accepted Solution

Detect entities within boundaries of a polyline

113 Views, 1 Replies
03-25-2014 02:47 AM

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?

Hi,

 

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

*Expert Elite*
_gile
Posts: 2,115
Registered: ‎04-29-2006
Message 2 of 2 (108 Views)

Re : Detect entities within boundaries of a polyline

03-25-2014 03:10 AM 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
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!