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

Detect entities within boundaries of a polyline

98 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?

*Expert Elite*
Posts: 2,084
Registered: ‎04-29-2006
Message 2 of 2 (93 Views)

Re : Detect entities within boundaries of a polyline

03-25-2014 03:10 AM in reply to: stardust1611



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

Gilles Chanteau
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.