Kent1Cooper wrote:
....
2) Step through the Polyline, if a spiral like the one in the image is made of relatively few comparatively long arc segments, at a parameter value increment of, say, every .25 ..., and apply (osnap ...thatpoint... "_qua") at each one. That will return a quadrant point for any segment that includes one, including potentially multiple returns of the same point. With longer segments there's the possibility that one segment might include more than one quadrant point, which is why you should Osnap at multiple locations along each segment. ....
3) Eliminate the duplicates, if any, ....
Since the Post-1 concept of finding only those quadrants that lie at the extremes [on the bounding box edges] seems to have disappeared, attached is the way I would do this, taking the approach above, part of Post 4 [without the only-the-extremes elements].
It's shorter than what you've come up with, even though:
1) it will identify quadrant point on not only a Polyline, but also a Circle, Arc or Ellipse;
2) it includes error handling;
3) it includes Undo begin/end "wrapping;"
4) it notifies you if you pick something that can't have quadrant points [or if you miss... maybe I should change the wording].
It puts the locations into a 'quadlist' variable that is not localized, so you can use the results in something else afterwards, if you want [for instance, compare them to the bounding box to identify those at the extremes]. For that reason, it does one object, but if you don't need that list, but only the markers, it could easily be altered to accept selection of multiple objects to mark all at once.
It does not need to create any temporary objects that then need to be deleted.
I chose to mark the quadrants with Points, rather than drawing Lines from 0,0 to each, though there's an alternative in it to do such Lines instead, if you prefer.
There are also some things indicated that can be omitted if you want only to mark the quadrants, and don't need the list retained, or vice versa.
Kent Cooper, AIA