<?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 export endpoints by clicking a button? in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-export-endpoints-by-clicking-a-button/m-p/1099815#M7149</link>
    <description>&lt;P&gt;Please post in a single community space&lt;/P&gt;</description>
    <pubDate>Mon, 20 Sep 2021 09:39:50 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2021-09-20T09:39:50Z</dc:date>
    <item>
      <title>How to export endpoints by clicking a button?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-export-endpoints-by-clicking-a-button/m-p/1099803#M7147</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;I have a question for you. How can I make a button that when you click, it will export the endpoints to the newly created FC? Then FC with points will then add it to the map.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;namespace endpoints
{
    internal class Button1 : Button
    {
        protected override async void OnClick()
        {
            try
            {
                var result = await QueuedTask.Run &amp;lt; () &amp;gt; (() =&amp;gt;
                    {
                        var selectedFeatureSets = MapView.Active.Map.GetSelection();

                       //this is ID for endpoint esri_editing_EndPointArcConstructor


                        return ();
                    });

            catch (Exception ex)
            {
                MessageBox.Show($@"výjimka: {ex}");
            }
        }
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will be very happy for any advice. Thank you!!!&lt;BR /&gt;Have a nice day&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 05:49:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-export-endpoints-by-clicking-a-button/m-p/1099803#M7147</guid>
      <dc:creator>DavidMrázek</dc:creator>
      <dc:date>2021-09-21T05:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to export endpoints by clicking a button?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-export-endpoints-by-clicking-a-button/m-p/1099815#M7149</link>
      <description>&lt;P&gt;Please post in a single community space&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2021 09:39:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-export-endpoints-by-clicking-a-button/m-p/1099815#M7149</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-09-20T09:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to export endpoints by clicking a button?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-export-endpoints-by-clicking-a-button/m-p/1099817#M7150</link>
      <description>&lt;P&gt;Already deleted&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2021 09:43:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-export-endpoints-by-clicking-a-button/m-p/1099817#M7150</guid>
      <dc:creator>DavidMrázek</dc:creator>
      <dc:date>2021-09-20T09:43:40Z</dc:date>
    </item>
  </channel>
</rss>

