Page 1 of 1

3D point under the mouse

Posted: Wed Sep 23, 2020 4:09 am
by Anna Ginn
Hello
I need to compute coordinates of the point under the mouse when it's hovering over an object. I looked through the documentation. IView_DG seems to be the relevant one, but it does not have anything for that. Am I looking in a wrong direction?
Thank you

Re: 3D point under the mouse

Posted: Thu Sep 24, 2020 5:14 am
by Mike Zubovic
Hi Anna
I think Pick sample is the one to look at. There is a 'enable mouse hovering'' check box. See what it does. I suspect for finer control you might need the other selection methods of IPick
Cheers