<?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: click on a polygon and drop a number in the designated field in sequence in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/click-on-a-polygon-and-drop-a-number-in-the/m-p/281736#M9704</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sounds pretty specialized and maybe an arcobjects task.&lt;/P&gt;&lt;P&gt;you could have a look at&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://codesharing.arcgis.com/" title="http://codesharing.arcgis.com/"&gt;ArcGIS Code Sharing&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I suspect you will have to implement your own&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 21 Oct 2018 10:09:43 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2018-10-21T10:09:43Z</dc:date>
    <item>
      <title>click on a polygon and drop a number in the designated field in sequence</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/click-on-a-polygon-and-drop-a-number-in-the/m-p/281735#M9703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;'m looking for a tool out there for sequential auto-numbering... something that uses the edit tool (or something similar) to simply click on a polygon and drop a number in the designated field in sequence, and it would obviously have to be easy to reset as the edit session progresses.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Oct 2018 09:27:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/click-on-a-polygon-and-drop-a-number-in-the/m-p/281735#M9703</guid>
      <dc:creator>rao_muhammadimranulhaq</dc:creator>
      <dc:date>2018-10-21T09:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: click on a polygon and drop a number in the designated field in sequence</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/click-on-a-polygon-and-drop-a-number-in-the/m-p/281736#M9704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sounds pretty specialized and maybe an arcobjects task.&lt;/P&gt;&lt;P&gt;you could have a look at&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://codesharing.arcgis.com/" title="http://codesharing.arcgis.com/"&gt;ArcGIS Code Sharing&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I suspect you will have to implement your own&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Oct 2018 10:09:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/click-on-a-polygon-and-drop-a-number-in-the/m-p/281736#M9704</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-10-21T10:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: click on a polygon and drop a number in the designated field in sequence</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/click-on-a-polygon-and-drop-a-number-in-the/m-p/1689592#M27701</link>
      <description>&lt;P&gt;import os&lt;BR /&gt;import re&lt;BR /&gt;import zipfile&lt;/P&gt;&lt;P&gt;current_path = os.path.dirname(os.path.abspath(__file__))&lt;/P&gt;&lt;P&gt;out_zip_name = os.path.join(current_path,&lt;BR /&gt;os.path.basename(current_path) + ".esriaddin")&lt;/P&gt;&lt;P&gt;BACKUP_FILE_PATTERN = re.compile(".*_addin_[0-9]+[.]py$", re.IGNORECASE)&lt;/P&gt;&lt;P&gt;def looks_like_a_backup(filename):&lt;BR /&gt;return bool(BACKUP_FILE_PATTERN.match(filename))&lt;/P&gt;&lt;P&gt;with zipfile.ZipFile(out_zip_name, 'w', zipfile.ZIP_DEFLATED) as zip_file:&lt;BR /&gt;for filename in ('config.xml', 'README.txt', 'makeaddin.py'):&lt;BR /&gt;zip_file.write(os.path.join(current_path, filename), filename)&lt;BR /&gt;dirs_to_add = ['Images', 'Install']&lt;BR /&gt;for directory in dirs_to_add:&lt;BR /&gt;for (path, dirs, files) in os.walk(os.path.join(current_path,&lt;BR /&gt;directory)):&lt;BR /&gt;archive_path = os.path.relpath(path, current_path)&lt;BR /&gt;found_file = False&lt;BR /&gt;for file in (f for f in files if not looks_like_a_backup(f)):&lt;BR /&gt;archive_file = os.path.join(archive_path, file)&lt;BR /&gt;print archive_file&lt;BR /&gt;zip_file.write(os.path.join(path, file), archive_file)&lt;BR /&gt;found_file = True&lt;BR /&gt;if not found_file:&lt;BR /&gt;zip_file.writestr(os.path.join(archive_path,&lt;BR /&gt;'placeholder.txt'),&lt;BR /&gt;"(Empty directory)")&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2026 08:18:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/click-on-a-polygon-and-drop-a-number-in-the/m-p/1689592#M27701</guid>
      <dc:creator>rao_muhammadimranulhaq</dc:creator>
      <dc:date>2026-03-10T08:18:33Z</dc:date>
    </item>
  </channel>
</rss>

