WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Get object name from an X/Y screen coordinate (https://forum.worldviz.com/showthread.php?t=4717)

williamchappell 08-08-2013 12:40 PM

Get object name from an X/Y screen coordinate
 
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 :)


All times are GMT -7. The time now is 09:47 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC