How to get the item under the cursor after a mouse click
I am coding a tool with ProToolKit,
it's as follows,
1, the user click the left mouse button the the drawing.
2, If there is a note or a dim at the mouse cursor, then change the color of the note or dim to Red.
3, if there is a geometry (surf or line) at the mouse cursor, then change the geometry color to Green.
4, if there is nothing at the cursor when clicking, do nothing.
I can use ProMousePickGet() to read the screen coordinate of the mouse,
But , how to find whether there is a note or a geometry at the cursor?
Is there a API method ?
Please help.
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.

