Replicate Hatch command smallest encompassing loop selection

Replicate Hatch command smallest encompassing loop selection

zdenda_borovec
Explorer Explorer
324 Views
2 Replies
Message 1 of 3

Replicate Hatch command smallest encompassing loop selection

zdenda_borovec
Explorer
Explorer

Is there a method to find/create the smallest loop (polyline) encompassing a given point, similar to how the Hatch command finds it?

 

I am not sure if the correct tags got applied, but ideally it should be in .NET C#.

 

Attached image shows what I mean. A buch of white polylines in drawing, Red is the point, Blue is the desired result.

0 Likes
Accepted solutions (1)
325 Views
2 Replies
Replies (2)
Message 2 of 3

ActivistInvestor
Mentor
Mentor
Accepted solution

BOUNDARY command, or Editor.TraceBoundary()

Message 3 of 3

zdenda_borovec
Explorer
Explorer
Exactly what I needed! Thank you so much!
0 Likes