How to get mouse pointer location in assembly document coordinates

Hello,

I would like to place some component to the location defined by actuall position of mouse pointer. For it I need to know location of mouse pointer in assembly coordinates (in metres). Unfortunately I didn't found any usable API function for it.

Have you any idea how it could be done via API?

Thank you for any answer

Tomas

SolidworksApi macros