I've a macro that needs to rotate an item depending on whether the thick or thin part of an ellipse has been picked.
But I can't find a way to work this out.
I thought of useing activeDoc.firstSelectedElement.ellipse.segments.pen but when you select an ellipse, segment 1 is always the thicker segment, no matter if you select on the first or second segment.
Is there a way to do it using firstSelectEdelement?
You can use "activeDoc.firstSelectedElement.ellipse.segment[4 to 6].pen" for selecting Thin.....
Thanks Vaduga but I'm not sure what that does.
I might not have explained what I'm doing very well.
The illustrator selects an ellipse on the screen, and depending on whether they clicked on the thick or the thin portion of the ellispe, my macro should load and rotate an item (a pre-drawn threaded hole to sit over the ellipse) to suit. I was hoping that it would be possible to work out what segment has actually been selected.