Ok the answer to your questions:
1: It does not matter if near or on the object (better on if possible).
2: It doesn't matter witch one.
3: If there is a hatch and other object, it could ignore it or get the midpoint of it.
4: If there are only hatches, getting the midpoint would be perfect.
For better understanding, in my drawings are Areas (closed polylines) with a scale Definition, and the Routine will get the scale propertie of this area when i select a object in it. For example the midpoint of a hatch will be in this area.
If someone select different objects in- and outside of the area at the same time it doesn't matter, because in this case I will do nothing for the stupid user :)...
Thank you very much
Regards