Connected drawing curve selection - select by window?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All,
I want to implement some kind of crude feature detection for drawing views - to do this, I need to look for patterns in the drawing curves. Unfortunately the curve object does not contain any information about connected curves, and it's not in order. So I need a way to detect a chain of curves.
One option is to build a collection that contains a custom class - which itself contains one drawing curve, and a collection of connected curves. This option requires me to iterate through each object by the square of the number of curves, which could take a long time.
Another option is to look for one type of curve in a particular pattern and then perform a window select around its end points and then check the curves that it finds - this is the subject of my question.
How do I perform a window selection or selection by points in VBA drawing environment? I haven't been able to find anything that suggests that its possible other than a method using a hackish mouse events method.
Suggestions also welcome on the feature detection problem too.
Thanks in Advance.