<?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 Set tolerance option for polygon streaming tool. in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/set-tolerance-option-for-polygon-streaming-tool/m-p/1344412#M10634</link>
    <description>&lt;P&gt;I would like to set the tolerance option for the polygon streaming tool. Has anyone done that and can point me in the right direction? I'm looking at&amp;nbsp;&lt;SPAN&gt;CIMEditingTemplateToolOptions, but struggling to use it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- Dave WIlcox&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Nov 2023 14:42:38 GMT</pubDate>
    <dc:creator>DaveWilcox</dc:creator>
    <dc:date>2023-11-01T14:42:38Z</dc:date>
    <item>
      <title>Set tolerance option for polygon streaming tool.</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/set-tolerance-option-for-polygon-streaming-tool/m-p/1344412#M10634</link>
      <description>&lt;P&gt;I would like to set the tolerance option for the polygon streaming tool. Has anyone done that and can point me in the right direction? I'm looking at&amp;nbsp;&lt;SPAN&gt;CIMEditingTemplateToolOptions, but struggling to use it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- Dave WIlcox&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 14:42:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/set-tolerance-option-for-polygon-streaming-tool/m-p/1344412#M10634</guid>
      <dc:creator>DaveWilcox</dc:creator>
      <dc:date>2023-11-01T14:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: Set tolerance option for polygon streaming tool.</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/set-tolerance-option-for-polygon-streaming-tool/m-p/1344579#M10637</link>
      <description>&lt;P&gt;Hi Dave,&lt;/P&gt;&lt;P&gt;Is this the info you are looking for?&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;//Set snapping options via get/set options
var snapOptions = Snapping.GetOptions(myMap);
snapOptions.IsSnapToSketchEnabled = true;
snapOptions.XYTolerance = 100;
snapOptions.IsZToleranceEnabled = true;
snapOptions.ZTolerance = 0.6;
Snapping.SetOptions(myMap,snapOptions);&lt;/LI-CODE&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Editing#snapping" target="_blank"&gt;https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Editing#snapping&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 18:23:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/set-tolerance-option-for-polygon-streaming-tool/m-p/1344579#M10637</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2023-11-01T18:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: Set tolerance option for polygon streaming tool.</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/set-tolerance-option-for-polygon-streaming-tool/m-p/1344634#M10638</link>
      <description>&lt;P&gt;That's close, but this is a different setting related to the stream tool.&lt;/P&gt;&lt;P&gt;- Dave&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 19:25:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/set-tolerance-option-for-polygon-streaming-tool/m-p/1344634#M10638</guid>
      <dc:creator>DaveWilcox</dc:creator>
      <dc:date>2023-11-01T19:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Set tolerance option for polygon streaming tool.</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/set-tolerance-option-for-polygon-streaming-tool/m-p/1344994#M10640</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;I'm looking at&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;CIMEditingTemplateToolOptions, but struggling to use it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;hi Dave, so this is a v specialized "setting" in the template. Essentially, if u are authoring a construction tool and want to associate it with a custom UI for "configurable options" on the create features pane u implement something called a ToolOptionsEmbeddableControl. Any custom option settings u wld like to persist in the template go in the&amp;nbsp;CIMEditingTemplateToolOptions (which is a dictionary fyi but is null by default).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;we hv covered this in various Dev Summit sessions. Most recently this year:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://esri.github.io/arcgis-pro-sdk/techsessions/2023/PalmSprings/Intermediate-Editing-2.zip" target="_blank"&gt;https://esri.github.io/arcgis-pro-sdk/techsessions/2023/PalmSprings/Intermediate-Editing-2.zip&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(u can find a complete listing of our sessions here:&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/Tech-Sessions" target="_blank"&gt;https://github.com/Esri/arcgis-pro-sdk/wiki/Tech-Sessions&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;this shld help u get up to speed. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Look at the section "Construction Tool - Tool Options UI" in the ppt for how to implement&amp;nbsp; a&amp;nbsp;ToolOptionsEmbeddableControl. This base class (u inherit from) provides a GetToolOption and SetToolOption that does the magic for u. LoadFromToolOptions, another override, gives your custom UI an opportunity to retrieve the custom options (if any) before your UI is initialized.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Editing_2_ConstructionTool.zip which is included in the download has the example code as described in the slides.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 14:35:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/set-tolerance-option-for-polygon-streaming-tool/m-p/1344994#M10640</guid>
      <dc:creator>CharlesMacleod</dc:creator>
      <dc:date>2023-11-02T14:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Set tolerance option for polygon streaming tool.</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/set-tolerance-option-for-polygon-streaming-tool/m-p/1345002#M10641</link>
      <description>Thanks. I’ll check this out.&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Nov 2023 14:50:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/set-tolerance-option-for-polygon-streaming-tool/m-p/1345002#M10641</guid>
      <dc:creator>DaveWilcox</dc:creator>
      <dc:date>2023-11-02T14:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set tolerance option for polygon streaming tool.</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/set-tolerance-option-for-polygon-streaming-tool/m-p/1345188#M10643</link>
      <description>&lt;P&gt;Attached is an addin that creates a Polygon construction tool. This tool implements "ToolOptions". In the Options UI, I added a text box for Tolerance.&lt;/P&gt;&lt;P&gt;Then on the Tool activate callback, I used the tolerance provided in the options UI and to set the map's snapping environment's XY Tolerance like this:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;        var snapOptions = Snapping.GetOptions(ActiveMapView.Map);
        snapOptions.XYTolerance = ToleranceToolOption;
        Snapping.SetOptions(ActiveMapView.Map, snapOptions);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UmaHarano_0-1698950854346.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/84878i8E2AA78A6EF98405/image-size/medium?v=v2&amp;amp;px=400" role="button" title="UmaHarano_0-1698950854346.png" alt="UmaHarano_0-1698950854346.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 18:48:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/set-tolerance-option-for-polygon-streaming-tool/m-p/1345188#M10643</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2023-11-02T18:48:51Z</dc:date>
    </item>
  </channel>
</rss>

