PDA

View Full Version : Get object name from an X/Y screen coordinate


williamchappell
08-08-2013, 12:40 PM
Hey guys, is it possible to return an object ID or object name given an x/y screen coordinates?

Any help is much appreciated.

Will.

Jeff
08-08-2013, 12:56 PM
Take a look at the viz.pick command. You can either use the mouse position or pass in different X,Y screen coordinates through the pos argument.

williamchappell
08-08-2013, 01:08 PM
Thank you very much Jeff! I will have a try of that tomorrow and report back :)