<?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: How to programmatically activate the edit tools in arcpro sdk in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-programmatically-activate-the-edit-tools-in/m-p/1553770#M12251</link>
    <description>&lt;P&gt;I think, you can't select template directly from Create Features pane. But your workflow could be like in sample below:&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;        protected async override void OnClick()
        {
            await QueuedTask.Run(() =&amp;gt;
            {
               // Find layer you will work with
                var featLayer = MapView.Active.Map.FindLayers("Poly1").First();
                // Get all templates and then select template you need or use GetTemplate if you know template name
                var editTemplates = featLayer.GetTemplates();

                if (editTemplates != null &amp;amp;&amp;amp; editTemplates.Count &amp;gt; 0)
                {
                    var editTemplate = editTemplates[0];
                    // Activate default tool
                    editTemplate.ActivateDefaultToolAsync();
                }
            });
        }
&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 30 Oct 2024 14:44:31 GMT</pubDate>
    <dc:creator>GKmieliauskas</dc:creator>
    <dc:date>2024-10-30T14:44:31Z</dc:date>
    <item>
      <title>How to programmatically activate the edit tools in arcpro sdk</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-programmatically-activate-the-edit-tools-in/m-p/1552594#M12231</link>
      <description>&lt;P&gt;would like to activate:&lt;/P&gt;&lt;P&gt;1) Create feature&lt;/P&gt;&lt;P&gt;2) Modify feature, and in particular the Move option&lt;/P&gt;&lt;P&gt;3) Delete feature&lt;/P&gt;&lt;P&gt;tools under the Edit tab, programmatically for a specific feature layer, and subscribe to the edit completion events.&lt;/P&gt;&lt;P&gt;Is this possible in arcpro sdk?&lt;/P&gt;</description>
      <pubDate>Sat, 26 Oct 2024 19:49:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-programmatically-activate-the-edit-tools-in/m-p/1552594#M12231</guid>
      <dc:creator>Gurunara</dc:creator>
      <dc:date>2024-10-26T19:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to programmatically activate the edit tools in arcpro sdk</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-programmatically-activate-the-edit-tools-in/m-p/1552811#M12233</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Use&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic10151.html" target="_blank"&gt;GetPlugInWrapper Method—ArcGIS Pro&lt;/A&gt;. To find tool reference id move mouse over the tool.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GKmieliauskas_0-1730128508697.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/118234i902CC238A1BDC649/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GKmieliauskas_0-1730128508697.png" alt="GKmieliauskas_0-1730128508697.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2024 15:14:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-programmatically-activate-the-edit-tools-in/m-p/1552811#M12233</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2024-10-28T15:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to programmatically activate the edit tools in arcpro sdk</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-programmatically-activate-the-edit-tools-in/m-p/1553699#M12249</link>
      <description>&lt;P&gt;Works...&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2024 12:06:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-programmatically-activate-the-edit-tools-in/m-p/1553699#M12249</guid>
      <dc:creator>Gurunara</dc:creator>
      <dc:date>2024-10-30T12:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to programmatically activate the edit tools in arcpro sdk</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-programmatically-activate-the-edit-tools-in/m-p/1553711#M12250</link>
      <description>&lt;P&gt;is there a way to programmatically select a template once the Create Feature tool is activated?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Gurunara_0-1730291847775.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/118442i3962EFE7C943A67B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Gurunara_0-1730291847775.png" alt="Gurunara_0-1730291847775.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2024 12:37:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-programmatically-activate-the-edit-tools-in/m-p/1553711#M12250</guid>
      <dc:creator>Gurunara</dc:creator>
      <dc:date>2024-10-30T12:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to programmatically activate the edit tools in arcpro sdk</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-programmatically-activate-the-edit-tools-in/m-p/1553770#M12251</link>
      <description>&lt;P&gt;I think, you can't select template directly from Create Features pane. But your workflow could be like in sample below:&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;        protected async override void OnClick()
        {
            await QueuedTask.Run(() =&amp;gt;
            {
               // Find layer you will work with
                var featLayer = MapView.Active.Map.FindLayers("Poly1").First();
                // Get all templates and then select template you need or use GetTemplate if you know template name
                var editTemplates = featLayer.GetTemplates();

                if (editTemplates != null &amp;amp;&amp;amp; editTemplates.Count &amp;gt; 0)
                {
                    var editTemplate = editTemplates[0];
                    // Activate default tool
                    editTemplate.ActivateDefaultToolAsync();
                }
            });
        }
&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 30 Oct 2024 14:44:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-programmatically-activate-the-edit-tools-in/m-p/1553770#M12251</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2024-10-30T14:44:31Z</dc:date>
    </item>
  </channel>
</rss>

