<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ArcScene ToMapPoint in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcscene-tomappoint/m-p/357799#M9468</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, in ArcScene you can use scenegraph.Locate to convert you mouse coordinates to map coordinates, but for my situation&amp;nbsp; it works only for existing features in Scene. I make add-in tool that create point by clicking mouse, and if i click on empty space of scene it return error like "the operation attempted on empty geometry", if i click any geometry objects (put my point on polygon or line) it works properly...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Courier New;"&gt;ISceneGraph pSG = scene.SceneGraph;&lt;BR /&gt;esriScenePickMode nMode = new esriScenePickMode();&lt;BR /&gt;object pOwner = new object();&lt;BR /&gt;object pObject = new object();&lt;BR /&gt;pSG.Locate(pViewer, X, Y, nMode, true, out pPntReturn, out pOwner, out pObject);&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 02 Jun 2012 06:11:29 GMT</pubDate>
    <dc:creator>NuriyaKunakkuzhina</dc:creator>
    <dc:date>2012-06-02T06:11:29Z</dc:date>
    <item>
      <title>ArcScene ToMapPoint</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcscene-tomappoint/m-p/357798#M9467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Using VBA, I am trying to mouse click in ArcScene and get the geographic coordinates of where the mouse was clicked.&amp;nbsp; This is easy in ArcMap using the MouseDown event:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Set pPoint = pMxApp.Display.DisplayTransformation.ToMapPoint(x, y)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there an equivalent in ArcScene?&amp;nbsp; 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.&amp;nbsp; I have been messing around with ISceneGraph.Locate, but it doesn't seem to work, or I am doing something wrong.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2011 20:47:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcscene-tomappoint/m-p/357798#M9467</guid>
      <dc:creator>LeonGosslin</dc:creator>
      <dc:date>2011-11-07T20:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: ArcScene ToMapPoint</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcscene-tomappoint/m-p/357799#M9468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, in ArcScene you can use scenegraph.Locate to convert you mouse coordinates to map coordinates, but for my situation&amp;nbsp; it works only for existing features in Scene. I make add-in tool that create point by clicking mouse, and if i click on empty space of scene it return error like "the operation attempted on empty geometry", if i click any geometry objects (put my point on polygon or line) it works properly...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Courier New;"&gt;ISceneGraph pSG = scene.SceneGraph;&lt;BR /&gt;esriScenePickMode nMode = new esriScenePickMode();&lt;BR /&gt;object pOwner = new object();&lt;BR /&gt;object pObject = new object();&lt;BR /&gt;pSG.Locate(pViewer, X, Y, nMode, true, out pPntReturn, out pOwner, out pObject);&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Jun 2012 06:11:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcscene-tomappoint/m-p/357799#M9468</guid>
      <dc:creator>NuriyaKunakkuzhina</dc:creator>
      <dc:date>2012-06-02T06:11:29Z</dc:date>
    </item>
  </channel>
</rss>

