point selection from rectangle

point selection from rectangle

Anonymous
Not applicable
272 Views
2 Replies
Message 1 of 3

point selection from rectangle

Anonymous
Not applicable
Hi i have three rectangle on the drawing area.
1. I want the smallest to be chosen and then the bottomleft point of it.(Later i will use the point for block creation)
2. I want the middle rectangle to be chosen and the bottomright point of it.(later i will choose it for another block creation of this rectacngle)
How can i choose the points using VBA only?
0 Likes
273 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
I have come till selecting the smallest area rectangle and also the middle area rectangle. But the problem of selecting the bottom left point of smallest one and bottomright point of middle one is still unsolved. Please help me out.
0 Likes
Message 3 of 3

Anonymous
Not applicable
If these rectangle were not rotated
you can get lower left and upper right
points with using of GetBoundingbox method
Take a look at the Help file about
Then there is easily to calculate midpoint
you need

~'J'~
0 Likes