powerb

ArcScene ToMapPoint

Discussion created by powerb on Nov 7, 2011
Latest reply on Jun 1, 2012 by nuriya47
Using VBA, I am trying to mouse click in ArcScene and get the geographic coordinates of where the mouse was clicked.  This is easy in ArcMap using the MouseDown event:

Set pPoint = pMxApp.Display.DisplayTransformation.ToMapPoint(x, y)

Is there an equivalent in ArcScene?  It is easy to get the screen x,y in ArcScene using the MouseDown event, but I can't seem to figure out how to convert them to geographic coordinates.  I have been messing around with ISceneGraph.Locate, but it doesn't seem to work, or I am doing something wrong.

Any ideas?

Thanks.

Outcomes