Message 1 of 4
Object Distance From Camera Hudobjdetdistfromcam, How to catch the actual number displayed in the UI

Not applicable
02-06-2008
01:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All,
Anyone knows how to get that number? If I run the following command I get the number to be displayed in the UI, but I can't find the way to catch it:
headsUpDisplay -e -vis 1 HUDObjDetDistFromCam;
I got the command from the initHUDScripts.mel
The distance could be calculated as long as the history data hasn't been deleted. I have a scene where the history was deleted and the xyz numbers are zero for most of the elements. However, the UI is still calculating the distance. I searched for the method inside maya but I could not find anything beyond HUDObjDetDistFromCam being called in the headsUpDisplay in ...Maya2008\scripts\startup\initAfter.mel.
Thanks for in advance for any help,
Igloo
Anyone knows how to get that number? If I run the following command I get the number to be displayed in the UI, but I can't find the way to catch it:
headsUpDisplay -e -vis 1 HUDObjDetDistFromCam;
I got the command from the initHUDScripts.mel
The distance could be calculated as long as the history data hasn't been deleted. I have a scene where the history was deleted and the xyz numbers are zero for most of the elements. However, the UI is still calculating the distance. I searched for the method inside maya but I could not find anything beyond HUDObjDetDistFromCam being called in the headsUpDisplay in ...Maya2008\scripts\startup\initAfter.mel.
Thanks for in advance for any help,
Igloo