<?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 Create Python Add-In and Get List of Edited Features in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/create-python-add-in-and-get-list-of-edited/m-p/704049#M54502</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to create a Python Add-In Extension that will look at the layer that is currently being edited, and as well at the features that are being edited. I'm seeing from Esri documentation that they are two properties that seem to correspond to what I'm looking for as currentLayer and editSelection (&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/analyze/python-addins/extension-class.htm" title="http://desktop.arcgis.com/en/arcmap/latest/analyze/python-addins/extension-class.htm"&gt;Extension class—Help | ArcGIS Desktop&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried to get info using self.currentLayer or self.editSelection inside any functions such as &lt;SPAN class=""&gt;onChangeFeature(self)&lt;/SPAN&gt;, &lt;SPAN class=""&gt;onSaveEdits(self)&lt;/SPAN&gt;, &lt;SPAN class=""&gt;onStartOperation(self)&lt;/SPAN&gt;, etc. However, self.currentLayer always return None, and self.editSelection is always empty (even if some features have been edited).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does someone knows how to use currentLayer and editSelection properties?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Dec 2016 16:51:20 GMT</pubDate>
    <dc:creator>Charles-AndreRoy</dc:creator>
    <dc:date>2016-12-08T16:51:20Z</dc:date>
    <item>
      <title>Create Python Add-In and Get List of Edited Features</title>
      <link>https://community.esri.com/t5/python-questions/create-python-add-in-and-get-list-of-edited/m-p/704049#M54502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to create a Python Add-In Extension that will look at the layer that is currently being edited, and as well at the features that are being edited. I'm seeing from Esri documentation that they are two properties that seem to correspond to what I'm looking for as currentLayer and editSelection (&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/analyze/python-addins/extension-class.htm" title="http://desktop.arcgis.com/en/arcmap/latest/analyze/python-addins/extension-class.htm"&gt;Extension class—Help | ArcGIS Desktop&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried to get info using self.currentLayer or self.editSelection inside any functions such as &lt;SPAN class=""&gt;onChangeFeature(self)&lt;/SPAN&gt;, &lt;SPAN class=""&gt;onSaveEdits(self)&lt;/SPAN&gt;, &lt;SPAN class=""&gt;onStartOperation(self)&lt;/SPAN&gt;, etc. However, self.currentLayer always return None, and self.editSelection is always empty (even if some features have been edited).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does someone knows how to use currentLayer and editSelection properties?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 16:51:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/create-python-add-in-and-get-list-of-edited/m-p/704049#M54502</guid>
      <dc:creator>Charles-AndreRoy</dc:creator>
      <dc:date>2016-12-08T16:51:20Z</dc:date>
    </item>
  </channel>
</rss>

