<?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: Getting the snap point in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/getting-the-snap-point/m-p/1499991#M11783</link>
    <description>&lt;P&gt;From what I'm seeing in the links provided, the SnapResult ONLY applies to points in the sketch.&amp;nbsp; But if you are building a complex tool that cannot be handled through a simple sketch, it would seem you get no snapping results.&amp;nbsp; I can set UseSnapping to true/false for the parts I want snapping or not and the snapping indicators show up appropriately.&amp;nbsp; But since I'm not doing a simple sketch, I can't seem to get those snapping locations that I would want to use.&amp;nbsp; Maybe there's some way to get around this but this seems like big assumption that the only place you would need to know a snap point is in a sketch tool.&lt;/P&gt;</description>
    <pubDate>Mon, 01 Jul 2024 18:02:34 GMT</pubDate>
    <dc:creator>BillyBuerger</dc:creator>
    <dc:date>2024-07-01T18:02:34Z</dc:date>
    <item>
      <title>Getting the snap point</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/getting-the-snap-point/m-p/1263409#M9494</link>
      <description>&lt;P&gt;The snapping env is very complex and helpful.&lt;/P&gt;&lt;P&gt;When I develop my own map tool and the snapping is on I see the snapping on the screen but the coordinates I get to my code is the original coordinates without the snap.&lt;/P&gt;&lt;P&gt;If I need to used the snapped point I have to write the snap in my code.&lt;/P&gt;&lt;P&gt;This information does exists somewhere since it is displayed on screen.&lt;/P&gt;&lt;P&gt;Is there an option to get the snapped point from the event?&lt;/P&gt;&lt;P&gt;This will help a lot if you develop some custom editing tool that need to use snapping.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 06:27:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/getting-the-snap-point/m-p/1263409#M9494</guid>
      <dc:creator>mody_buchbinder</dc:creator>
      <dc:date>2023-03-02T06:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the snap point</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/getting-the-snap-point/m-p/1263444#M9497</link>
      <description>&lt;P&gt;future release?&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-sdk-questions/how-can-i-get-the-coordinates-of-a-snap-point/m-p/794661#M1739" target="_blank"&gt;How can I get the coordinates of a snap point? - Esri Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 10:41:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/getting-the-snap-point/m-p/1263444#M9497</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2023-03-02T10:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the snap point</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/getting-the-snap-point/m-p/1263877#M9500</link>
      <description>&lt;P&gt;Fortunately it was added at a later release &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can get the snapped location from the sketch via the &lt;A href="https://pro.arcgis.com/en/pro-app/3.0/sdk/api-reference/topic29538.html" target="_blank" rel="noopener"&gt;SnapResult&lt;/A&gt; class.&lt;/P&gt;&lt;P&gt;The &lt;A href="https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-Editing#Snap-Results" target="_blank" rel="noopener"&gt;concept help&lt;/A&gt; describes its use through the SnappingResults property on the map tool. This examples references sketchcompleted but you could also listen to sketchmodified.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 02:21:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/getting-the-snap-point/m-p/1263877#M9500</guid>
      <dc:creator>sjones_esriau</dc:creator>
      <dc:date>2023-03-03T02:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the snap point</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/getting-the-snap-point/m-p/1499991#M11783</link>
      <description>&lt;P&gt;From what I'm seeing in the links provided, the SnapResult ONLY applies to points in the sketch.&amp;nbsp; But if you are building a complex tool that cannot be handled through a simple sketch, it would seem you get no snapping results.&amp;nbsp; I can set UseSnapping to true/false for the parts I want snapping or not and the snapping indicators show up appropriately.&amp;nbsp; But since I'm not doing a simple sketch, I can't seem to get those snapping locations that I would want to use.&amp;nbsp; Maybe there's some way to get around this but this seems like big assumption that the only place you would need to know a snap point is in a sketch tool.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 18:02:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/getting-the-snap-point/m-p/1499991#M11783</guid>
      <dc:creator>BillyBuerger</dc:creator>
      <dc:date>2024-07-01T18:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the snap point</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/getting-the-snap-point/m-p/1505840#M11879</link>
      <description>&lt;P&gt;So I came up with something that is generally working.&amp;nbsp; I set my SketchType to Point as this doesn't add any sketch overlays on the map but allows me to get the SnapLocation from the SnappingResults when I need it.&amp;nbsp; But it's still not perfect.&amp;nbsp; The SnappingResults are only updated when the point sketch is complete.&amp;nbsp; Specifically it seems to happen between the MouseDown and MouseUp events.&amp;nbsp; So while I was originally processing on the MouseDown, the snapping location isn't updated yet so I had to move it to MouseUp.&amp;nbsp; But this also means that there's no snapping information available on MouseMove.&amp;nbsp; I'm specifically drawing some overlays showing what the result will be from the user input where I want to be able to snap.&amp;nbsp; I'm able to perform the updates with the snap locations.&amp;nbsp; But the overlay can't get access to the current snap point and is not drawn at the final snap location causing a bit of a disconnect between what I'm showing the user and what the final result is going to be.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2024 15:49:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/getting-the-snap-point/m-p/1505840#M11879</guid>
      <dc:creator>BillyBuerger</dc:creator>
      <dc:date>2024-07-16T15:49:02Z</dc:date>
    </item>
  </channel>
</rss>

