<?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 Enable snapping without editing in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/enable-snapping-without-editing/m-p/810931#M2345</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have built a custom Pro tool which allows to click the map twice to define a rotation angle and apply it to features with a&amp;nbsp;symbology rotation field.&amp;nbsp;I would like to enable snapping when the tool is activated, the same way the out-of-the-box Measure tool works. Any idea how this can be implemented? Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Mar 2020 20:32:58 GMT</pubDate>
    <dc:creator>AlexZlotin1</dc:creator>
    <dc:date>2020-03-02T20:32:58Z</dc:date>
    <item>
      <title>Enable snapping without editing</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/enable-snapping-without-editing/m-p/810931#M2345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have built a custom Pro tool which allows to click the map twice to define a rotation angle and apply it to features with a&amp;nbsp;symbology rotation field.&amp;nbsp;I would like to enable snapping when the tool is activated, the same way the out-of-the-box Measure tool works. Any idea how this can be implemented? Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2020 20:32:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/enable-snapping-without-editing/m-p/810931#M2345</guid>
      <dc:creator>AlexZlotin1</dc:creator>
      <dc:date>2020-03-02T20:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Enable snapping without editing</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/enable-snapping-without-editing/m-p/810932#M2346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alex,&lt;/P&gt;&lt;P&gt;In the tools constructor you can set UseSnapping = True&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;  &lt;SPAN class="keyword token"&gt;internal&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;class&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;SnapResultTool&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; MapTool
  &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;public&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;SnapResultTool&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
    &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
      IsSketchTool &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;true&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
      UseSnapping &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;true&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
      SketchType &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; SketchGeometryType&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Point&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
      SketchOutputMode &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; SketchOutputMode&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Map&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
    &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 09:31:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/enable-snapping-without-editing/m-p/810932#M2346</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-12T09:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: Enable snapping without editing</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/enable-snapping-without-editing/m-p/810933#M2347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Sean!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2020 18:33:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/enable-snapping-without-editing/m-p/810933#M2347</guid>
      <dc:creator>AlexZlotin1</dc:creator>
      <dc:date>2020-03-03T18:33:41Z</dc:date>
    </item>
  </channel>
</rss>

