<?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 Attribute updating in Python Addins in Python AddIns Questions</title>
    <link>https://community.esri.com/t5/python-addins-questions/attribute-updating-in-python-addins/m-p/830113#M91</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have many land class polygons to manually edit. I wish to create a button bar - in Python AddIns - with buttons to allocate the selected polygon (once edited) to the appropriate class (ie update attribute field). There would be buttons for Class 1, Class 2 etc..&lt;/P&gt;&lt;P&gt;so&lt;/P&gt;&lt;P&gt;i) edit polygon (eg cut)&lt;/P&gt;&lt;P&gt;ii) with polygon selected, click appropriate button (eg Class 1) to allocate polygon (attribute) to the appropriate land class&lt;/P&gt;&lt;P&gt;I can do this in ArcPy, but am new to AddIns. I am not able to find information on how to apply code in Addins&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Aug 2018 07:39:12 GMT</pubDate>
    <dc:creator>StephenPage</dc:creator>
    <dc:date>2018-08-08T07:39:12Z</dc:date>
    <item>
      <title>Attribute updating in Python Addins</title>
      <link>https://community.esri.com/t5/python-addins-questions/attribute-updating-in-python-addins/m-p/830113#M91</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have many land class polygons to manually edit. I wish to create a button bar - in Python AddIns - with buttons to allocate the selected polygon (once edited) to the appropriate class (ie update attribute field). There would be buttons for Class 1, Class 2 etc..&lt;/P&gt;&lt;P&gt;so&lt;/P&gt;&lt;P&gt;i) edit polygon (eg cut)&lt;/P&gt;&lt;P&gt;ii) with polygon selected, click appropriate button (eg Class 1) to allocate polygon (attribute) to the appropriate land class&lt;/P&gt;&lt;P&gt;I can do this in ArcPy, but am new to AddIns. I am not able to find information on how to apply code in Addins&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 07:39:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-addins-questions/attribute-updating-in-python-addins/m-p/830113#M91</guid>
      <dc:creator>StephenPage</dc:creator>
      <dc:date>2018-08-08T07:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute updating in Python Addins</title>
      <link>https://community.esri.com/t5/python-addins-questions/attribute-updating-in-python-addins/m-p/830114#M92</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd suggest starting here&amp;nbsp;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/10.5/analyze/python-addins/what-is-a-python-add-in.htm" title="http://desktop.arcgis.com/en/arcmap/10.5/analyze/python-addins/what-is-a-python-add-in.htm"&gt;What is a Python add-in?—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;and study each of the online help sections related to addins.&amp;nbsp; I started a fairly large project a year or so ago, and will be breathing new life into it again in the next few weeks; when I started the project, I couldn't even spell Python.&amp;nbsp; Take your time and experiment as you go.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the sounds of it, you'll need to be able to start an edit session, choose a value from a combo box for your land value and then make the change.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 11:47:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-addins-questions/attribute-updating-in-python-addins/m-p/830114#M92</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2018-08-08T11:47:45Z</dc:date>
    </item>
  </channel>
</rss>

