<?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 delete empty features in a FGDB in ArcGis Pro in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-delete-empty-features-in-a-fgdb-in-arcgis/m-p/554639#M24314</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/get-count.htm"&gt;http://pro.arcgis.com/en/pro-app/tool-reference/data-management/get-count.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There are 2 examples.. the first is how to use the getcount in immediate mode in the python window within arcmap.&amp;nbsp; The second is how to use it from a standalone script, querying a layer file (*.lyr).&amp;nbsp; You useage appears to be somewhere in the middle, which I guess isn't working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Dec 2017 16:58:27 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2017-12-11T16:58:27Z</dc:date>
    <item>
      <title>How to delete empty features in a FGDB in ArcGis Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-delete-empty-features-in-a-fgdb-in-arcgis/m-p/554632#M24307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Day,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to delete empty features in a FGDB. In ArcMap (10.5.1) i used this script and it worked fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of the scripts i use is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL class="" start="1" style="color: #5c5c5c; background-color: #ffffff; border: none; font-size: 12px; margin: 0px 0px 1px 45px !important;"&gt;&lt;LI class="" style="color: inherit; background-color: #ffffff; border-top: none; border-bottom: none; border-left: 3px solid #6ce26c; border-right: none; font-weight: inherit; font-size: 12px; margin: 0px !important; padding: 0px 3px 0px 10px !important;"&gt;&lt;SPAN style="color: black; background-color: inherit; border: 0px; font-weight: inherit; font-size: 9pt !important;"&gt;import&amp;nbsp;arcpy&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI class="" style="color: #5c5c5c; background-color: #f6f6f6; border-top: none; border-bottom: none; border-left: 3px solid #6ce26c; border-right: none; font-weight: inherit; font-size: 12px; margin: 0px !important; padding: 0px 3px 0px 10px !important;"&gt;&lt;SPAN style="color: black; background-color: inherit; border: 0px; font-weight: inherit; font-size: 9pt !important;"&gt;from&amp;nbsp;arcpy&amp;nbsp;import&amp;nbsp;env&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI class="" style="color: inherit; background-color: #ffffff; border-top: none; border-bottom: none; border-left: 3px solid #6ce26c; border-right: none; font-weight: inherit; font-size: 12px; margin: 0px !important; padding: 0px 3px 0px 10px !important;"&gt;&lt;SPAN style="color: black; background-color: inherit; border: 0px; font-weight: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI class="" style="color: #5c5c5c; background-color: #f6f6f6; border-top: none; border-bottom: none; border-left: 3px solid #6ce26c; border-right: none; font-weight: inherit; font-size: 12px; margin: 0px !important; padding: 0px 3px 0px 10px !important;"&gt;&lt;SPAN style="color: black; background-color: inherit; border: 0px; font-weight: inherit; font-size: 9pt !important;"&gt;env.workspace&amp;nbsp;=&amp;nbsp;r"C:\Temp\Test.gdb"&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI class="" style="color: inherit; background-color: #ffffff; border-top: none; border-bottom: none; border-left: 3px solid #6ce26c; border-right: none; font-weight: inherit; font-size: 12px; margin: 0px !important; padding: 0px 3px 0px 10px !important;"&gt;&lt;SPAN style="color: black; background-color: inherit; border: 0px; font-weight: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI class="" style="color: #5c5c5c; background-color: #f6f6f6; border-top: none; border-bottom: none; border-left: 3px solid #6ce26c; border-right: none; font-weight: inherit; font-size: 12px; margin: 0px !important; padding: 0px 3px 0px 10px !important;"&gt;&lt;SPAN style="color: black; background-color: inherit; border: 0px; font-weight: inherit; font-size: 9pt !important;"&gt;listFCs&amp;nbsp;=&amp;nbsp;arcpy.ListFeatureClasses("*")&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI class="" style="color: inherit; background-color: #ffffff; border-top: none; border-bottom: none; border-left: 3px solid #6ce26c; border-right: none; font-weight: inherit; font-size: 12px; margin: 0px !important; padding: 0px 3px 0px 10px !important;"&gt;&lt;SPAN style="color: black; background-color: inherit; border: 0px; font-weight: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI class="" style="color: #5c5c5c; background-color: #f6f6f6; border-top: none; border-bottom: none; border-left: 3px solid #6ce26c; border-right: none; font-weight: inherit; font-size: 12px; margin: 0px !important; padding: 0px 3px 0px 10px !important;"&gt;&lt;SPAN style="color: black; background-color: inherit; border: 0px; font-weight: inherit; font-size: 9pt !important;"&gt;for&amp;nbsp;fc&amp;nbsp;in&amp;nbsp;listFCs:&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI class="" style="color: inherit; background-color: #ffffff; border-top: none; border-bottom: none; border-left: 3px solid #6ce26c; border-right: none; font-weight: inherit; font-size: 12px; margin: 0px !important; padding: 0px 3px 0px 10px !important;"&gt;&lt;SPAN style="color: black; background-color: inherit; border: 0px; font-weight: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;count1&amp;nbsp;=&amp;nbsp;str(arcpy.GetCount_management(fc))&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI class="" style="color: #5c5c5c; background-color: #f6f6f6; border-top: none; border-bottom: none; border-left: 3px solid #6ce26c; border-right: none; font-weight: inherit; font-size: 12px; margin: 0px !important; padding: 0px 3px 0px 10px !important;"&gt;&lt;SPAN style="color: black; background-color: inherit; border: 0px; font-weight: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;count1&amp;nbsp;==&amp;nbsp;"0":&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI class="" style="color: inherit; background-color: #ffffff; border-top: none; border-bottom: none; border-left: 3px solid #6ce26c; border-right: none; font-weight: inherit; font-size: 12px; margin: 0px !important; padding: 0px 3px 0px 10px !important;"&gt;&lt;SPAN style="color: black; background-color: inherit; border: 0px; font-weight: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;arcpy.Delete_management(fc)&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In arcgis pro (2.0.1) this scripts is giving my this error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Start Time: zaterdag 9 december 2017 21:22:32&lt;BR /&gt;Running script DumpEmptyData...&lt;BR /&gt;Failed script DumpEmptyData...&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "F:\GIS_Data\Tools\Python Scripts\DeleteEmptyfields.py", line 21, in &amp;lt;module&amp;gt;&lt;BR /&gt;count1 = str(arcpy.GetCount_management(fc))&lt;BR /&gt;File "c:\program files\arcgis\pro\Resources\arcpy\arcpy\management.py", line 16029, in GetCount&lt;BR /&gt;raise e&lt;BR /&gt;File "c:\program files\arcgis\pro\Resources\arcpy\arcpy\management.py", line 16026, in GetCount&lt;BR /&gt;retval = convertArcObjectToPythonObject(gp.GetCount_management(*gp_fixargs((in_rows,), True)))&lt;BR /&gt;File "c:\program files\arcgis\pro\Resources\arcpy\arcpy\geoprocessing\_base.py", line 506, in &amp;lt;lambda&amp;gt;&lt;BR /&gt;return lambda *args: val(*gp_fixargs(args, True))&lt;BR /&gt;arcgisscripting.ExecuteError: Failed to execute. Parameters are not valid.&lt;BR /&gt;ERROR 000732: Input Rows: Dataset not_empty_feature_1 does not exist or is not supported&lt;BR /&gt;Failed to execute (GetCount).&lt;BR /&gt;Failed to execute (DumpEmptyData).&lt;BR /&gt;Failed at zaterdag 9 december 2017 21:22:33 (Elapsed Time: 0,66 seconds)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the question is why do i get this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The test above is with a feature&amp;nbsp; called "not_empty_feature". I used the "Analyze tools for pro" tool to analyze the script&amp;nbsp; but it did not give me any errors.&amp;nbsp;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/analyzetoolsforpro.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/analyzetoolsforpro.htm"&gt;Analyze Tools For Pro—Data Management toolbox | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;greetings Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Dec 2017 17:42:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-delete-empty-features-in-a-fgdb-in-arcgis/m-p/554632#M24307</guid>
      <dc:creator>PeterVersteeg</dc:creator>
      <dc:date>2017-12-10T17:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete empty features in a FGDB in ArcGis Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-delete-empty-features-in-a-fgdb-in-arcgis/m-p/554633#M24308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/get-count.htm"&gt;&lt;STRONG&gt;GetCount_management&lt;/STRONG&gt;&lt;/A&gt; &amp;nbsp;&amp;nbsp; you need to get the result&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: transparent; color: #4d4d4d; font-family: &amp;amp;quot; consolas&amp;amp;quot;,&amp;amp;quot;andale mono&amp;amp;quot;,&amp;amp;quot;lucida console&amp;amp;quot;,&amp;amp;quot;monaco&amp;amp;quot;,&amp;amp;quot;courier new&amp;amp;quot;,courier,monospace; font-size: 12px; 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: pre; word-spacing: 0px;"&gt;result&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #fafafa; color: #4d4d4d; font-family: 'Consolas','Andale Mono','Lucida Console','Monaco','Courier New',Courier,monospace; font-size: 12px; 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: pre; word-spacing: 0px; word-wrap: normal;"&gt; &lt;/SPAN&gt;&lt;SPAN style="background-color: transparent; color: #4d4d4d; font-family: &amp;amp;quot; consolas&amp;amp;quot;,&amp;amp;quot;andale mono&amp;amp;quot;,&amp;amp;quot;lucida console&amp;amp;quot;,&amp;amp;quot;monaco&amp;amp;quot;,&amp;amp;quot;courier new&amp;amp;quot;,courier,monospace; font-size: 12px; 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: pre; word-spacing: 0px;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #fafafa; color: #4d4d4d; font-family: 'Consolas','Andale Mono','Lucida Console','Monaco','Courier New',Courier,monospace; font-size: 12px; 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: pre; word-spacing: 0px; word-wrap: normal;"&gt; &lt;/SPAN&gt;&lt;SPAN style="background-color: transparent; color: #4d4d4d; font-family: &amp;amp;quot; consolas&amp;amp;quot;,&amp;amp;quot;andale mono&amp;amp;quot;,&amp;amp;quot;lucida console&amp;amp;quot;,&amp;amp;quot;monaco&amp;amp;quot;,&amp;amp;quot;courier new&amp;amp;quot;,courier,monospace; font-size: 12px; 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: pre; word-spacing: 0px;"&gt;arcpy&lt;/SPAN&gt;&lt;SPAN style="background-color: transparent; color: #4d4d4d; font-family: &amp;amp;quot; consolas&amp;amp;quot;,&amp;amp;quot;andale mono&amp;amp;quot;,&amp;amp;quot;lucida console&amp;amp;quot;,&amp;amp;quot;monaco&amp;amp;quot;,&amp;amp;quot;courier new&amp;amp;quot;,courier,monospace; font-size: 12px; 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: pre; word-spacing: 0px;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="background-color: transparent; color: #4d4d4d; font-family: &amp;amp;quot; consolas&amp;amp;quot;,&amp;amp;quot;andale mono&amp;amp;quot;,&amp;amp;quot;lucida console&amp;amp;quot;,&amp;amp;quot;monaco&amp;amp;quot;,&amp;amp;quot;courier new&amp;amp;quot;,courier,monospace; font-size: 12px; 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: pre; word-spacing: 0px;"&gt;GetCount_management&lt;/SPAN&gt;&lt;SPAN style="background-color: transparent; color: #4d4d4d; font-family: &amp;amp;quot; consolas&amp;amp;quot;,&amp;amp;quot;andale mono&amp;amp;quot;,&amp;amp;quot;lucida console&amp;amp;quot;,&amp;amp;quot;monaco&amp;amp;quot;,&amp;amp;quot;courier new&amp;amp;quot;,courier,monospace; font-size: 12px; 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: pre; word-spacing: 0px;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="background-color: transparent; color: #4d4d4d; font-family: &amp;amp;quot; consolas&amp;amp;quot;,&amp;amp;quot;andale mono&amp;amp;quot;,&amp;amp;quot;lucida console&amp;amp;quot;,&amp;amp;quot;monaco&amp;amp;quot;,&amp;amp;quot;courier new&amp;amp;quot;,courier,monospace; font-size: 12px; 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: pre; word-spacing: 0px;"&gt;lyrfile&lt;/SPAN&gt;&lt;SPAN style="background-color: transparent; color: #4d4d4d; font-family: &amp;amp;quot; consolas&amp;amp;quot;,&amp;amp;quot;andale mono&amp;amp;quot;,&amp;amp;quot;lucida console&amp;amp;quot;,&amp;amp;quot;monaco&amp;amp;quot;,&amp;amp;quot;courier new&amp;amp;quot;,courier,monospace; font-size: 12px; 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: pre; word-spacing: 0px;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #fafafa; color: #4d4d4d; font-family: 'Consolas','Andale Mono','Lucida Console','Monaco','Courier New',Courier,monospace; font-size: 12px; 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: pre; word-spacing: 0px; word-wrap: normal;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: transparent; color: #4d4d4d; font-family: &amp;amp;quot; consolas&amp;amp;quot;,&amp;amp;quot;andale mono&amp;amp;quot;,&amp;amp;quot;lucida console&amp;amp;quot;,&amp;amp;quot;monaco&amp;amp;quot;,&amp;amp;quot;courier new&amp;amp;quot;,courier,monospace; font-size: 12px; 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: pre; word-spacing: 0px;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #fafafa; color: #4d4d4d; font-family: 'Consolas','Andale Mono','Lucida Console','Monaco','Courier New',Courier,monospace; font-size: 12px; 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: pre; word-spacing: 0px; word-wrap: normal;"&gt; &lt;/SPAN&gt;&lt;SPAN style="background-color: transparent; color: #4d4d4d; font-family: &amp;amp;quot; consolas&amp;amp;quot;,&amp;amp;quot;andale mono&amp;amp;quot;,&amp;amp;quot;lucida console&amp;amp;quot;,&amp;amp;quot;monaco&amp;amp;quot;,&amp;amp;quot;courier new&amp;amp;quot;,courier,monospace; font-size: 12px; 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: pre; word-spacing: 0px;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #fafafa; color: #4d4d4d; font-family: 'Consolas','Andale Mono','Lucida Console','Monaco','Courier New',Courier,monospace; font-size: 12px; 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: pre; word-spacing: 0px; word-wrap: normal;"&gt; &lt;/SPAN&gt;&lt;SPAN style="background-color: transparent; color: #4d4d4d; font-family: &amp;amp;quot; consolas&amp;amp;quot;,&amp;amp;quot;andale mono&amp;amp;quot;,&amp;amp;quot;lucida console&amp;amp;quot;,&amp;amp;quot;monaco&amp;amp;quot;,&amp;amp;quot;courier new&amp;amp;quot;,courier,monospace; font-size: 12px; 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: pre; word-spacing: 0px;"&gt;int&lt;/SPAN&gt;&lt;SPAN style="background-color: transparent; color: #4d4d4d; font-family: &amp;amp;quot; consolas&amp;amp;quot;,&amp;amp;quot;andale mono&amp;amp;quot;,&amp;amp;quot;lucida console&amp;amp;quot;,&amp;amp;quot;monaco&amp;amp;quot;,&amp;amp;quot;courier new&amp;amp;quot;,courier,monospace; font-size: 12px; 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: pre; word-spacing: 0px;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="background-color: transparent; color: #4d4d4d; font-family: &amp;amp;quot; consolas&amp;amp;quot;,&amp;amp;quot;andale mono&amp;amp;quot;,&amp;amp;quot;lucida console&amp;amp;quot;,&amp;amp;quot;monaco&amp;amp;quot;,&amp;amp;quot;courier new&amp;amp;quot;,courier,monospace; font-size: 12px; 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: pre; word-spacing: 0px;"&gt;result&lt;/SPAN&gt;&lt;SPAN style="background-color: transparent; color: #4d4d4d; font-family: &amp;amp;quot; consolas&amp;amp;quot;,&amp;amp;quot;andale mono&amp;amp;quot;,&amp;amp;quot;lucida console&amp;amp;quot;,&amp;amp;quot;monaco&amp;amp;quot;,&amp;amp;quot;courier new&amp;amp;quot;,courier,monospace; font-size: 12px; 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: pre; word-spacing: 0px;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="background-color: transparent; color: #4d4d4d; font-family: &amp;amp;quot; consolas&amp;amp;quot;,&amp;amp;quot;andale mono&amp;amp;quot;,&amp;amp;quot;lucida console&amp;amp;quot;,&amp;amp;quot;monaco&amp;amp;quot;,&amp;amp;quot;courier new&amp;amp;quot;,courier,monospace; font-size: 12px; 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: pre; word-spacing: 0px;"&gt;getOutput&lt;/SPAN&gt;&lt;SPAN style="background-color: transparent; color: #4d4d4d; font-family: &amp;amp;quot; consolas&amp;amp;quot;,&amp;amp;quot;andale mono&amp;amp;quot;,&amp;amp;quot;lucida console&amp;amp;quot;,&amp;amp;quot;monaco&amp;amp;quot;,&amp;amp;quot;courier new&amp;amp;quot;,courier,monospace; font-size: 12px; 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: pre; word-spacing: 0px;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="background-color: transparent; color: #666666; font-family: &amp;amp;quot; consolas&amp;amp;quot;,&amp;amp;quot;andale mono&amp;amp;quot;,&amp;amp;quot;lucida console&amp;amp;quot;,&amp;amp;quot;monaco&amp;amp;quot;,&amp;amp;quot;courier new&amp;amp;quot;,courier,monospace; font-size: 12px; 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: pre; word-spacing: 0px;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="background-color: transparent; color: #4d4d4d; font-family: &amp;amp;quot; consolas&amp;amp;quot;,&amp;amp;quot;andale mono&amp;amp;quot;,&amp;amp;quot;lucida console&amp;amp;quot;,&amp;amp;quot;monaco&amp;amp;quot;,&amp;amp;quot;courier new&amp;amp;quot;,courier,monospace; font-size: 12px; 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: pre; word-spacing: 0px;"&gt;))&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #fafafa; color: #4d4d4d; font-family: 'Consolas','Andale Mono','Lucida Console','Monaco','Courier New',Courier,monospace; font-size: 12px; 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: pre; word-spacing: 0px; word-wrap: normal;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Dec 2017 18:13:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-delete-empty-features-in-a-fgdb-in-arcgis/m-p/554633#M24308</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-12-10T18:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete empty features in a FGDB in ArcGis Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-delete-empty-features-in-a-fgdb-in-arcgis/m-p/554634#M24309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hoi Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the reply. The Int(result.getOutput(0)) is this the new approach&amp;nbsp;for Pro? I do not understand why this:&lt;/P&gt;&lt;OL class="" start="1" style="color: #5c5c5c; background-color: #ffffff; border: none; font-size: 12px; margin: 0px 0px 1px 45px !important; padding: 0px 0px 0px 30px;"&gt;&lt;LI class="" style="color: inherit; background-color: #ffffff; border-top: none; border-bottom: none; border-left: 3px solid #6ce26c; border-right: none; font-weight: inherit; font-size: 12px; margin: 0px !important; padding: 0px 3px 0px 10px !important;"&gt;&lt;SPAN style="color: black; background-color: inherit; border: 0px; font-weight: inherit; font-size: 9pt !important;"&gt;count1&amp;nbsp;=&amp;nbsp;str(arcpy.GetCount_management(fc))&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI class="" style="color: #5c5c5c; background-color: #f6f6f6; border-top: none; border-bottom: none; border-left: 3px solid #6ce26c; border-right: none; font-weight: inherit; font-size: 12px; margin: 0px !important; padding: 0px 3px 0px 10px !important;"&gt;&lt;SPAN style="color: black; background-color: inherit; border: 0px; font-weight: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;count1&amp;nbsp;==&amp;nbsp;"0":&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;is not working anymore.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2017 11:58:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-delete-empty-features-in-a-fgdb-in-arcgis/m-p/554634#M24309</guid>
      <dc:creator>PeterVersteeg</dc:creator>
      <dc:date>2017-12-11T11:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete empty features in a FGDB in ArcGis Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-delete-empty-features-in-a-fgdb-in-arcgis/m-p/554635#M24310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The help in ArcMap also clearly states that this is the way to do it (see: &lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/get-count.htm" title="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/get-count.htm"&gt;Get Count—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;). I don't think it has changed in that aspect. You should treat the count as numeric.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2017 13:24:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-delete-empty-features-in-a-fgdb-in-arcgis/m-p/554635#M24310</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2017-12-11T13:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete empty features in a FGDB in ArcGis Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-delete-empty-features-in-a-fgdb-in-arcgis/m-p/554636#M24311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Yes i did see that so the new script is:&lt;/P&gt;&lt;OL class="" start="1" style="color: #5c5c5c; background-color: #ffffff; border: none; font-size: 12px; margin: 0px 0px 1px 45px !important; padding: 0px 0px 0px 30px;"&gt;&lt;LI class="" style="color: inherit; background-color: #ffffff; border-top: none; border-bottom: none; border-left: 3px solid #6ce26c; border-right: none; font-weight: inherit; font-size: 12px; margin: 0px !important; padding: 0px 3px 0px 10px !important;"&gt;for fc in listFCs:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;result = arcpy.GetCount_management(fc) &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;count = int(result.getOutput(0)) &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if count == 0: &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;arcpy.Delete_management(fc)&lt;/LI&gt;&lt;/OL&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;It is working in Arcmap (10.5.1) but still i got the same error in Arcgis Pro (2.0.1).&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2017 15:24:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-delete-empty-features-in-a-fgdb-in-arcgis/m-p/554636#M24311</guid>
      <dc:creator>PeterVersteeg</dc:creator>
      <dc:date>2017-12-11T15:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete empty features in a FGDB in ArcGis Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-delete-empty-features-in-a-fgdb-in-arcgis/m-p/554637#M24312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tested in 2.0.1... so no clue in your case, perhaps there is something else wrong, like you aren't querying a layer (in the TOC or on disk... maybe a featureclass??)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2017 15:52:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-delete-empty-features-in-a-fgdb-in-arcgis/m-p/554637#M24312</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-12-11T15:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete empty features in a FGDB in ArcGis Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-delete-empty-features-in-a-fgdb-in-arcgis/m-p/554638#M24313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am quarrying a FGDB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2017 16:24:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-delete-empty-features-in-a-fgdb-in-arcgis/m-p/554638#M24313</guid>
      <dc:creator>PeterVersteeg</dc:creator>
      <dc:date>2017-12-11T16:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete empty features in a FGDB in ArcGis Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-delete-empty-features-in-a-fgdb-in-arcgis/m-p/554639#M24314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/get-count.htm"&gt;http://pro.arcgis.com/en/pro-app/tool-reference/data-management/get-count.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There are 2 examples.. the first is how to use the getcount in immediate mode in the python window within arcmap.&amp;nbsp; The second is how to use it from a standalone script, querying a layer file (*.lyr).&amp;nbsp; You useage appears to be somewhere in the middle, which I guess isn't working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2017 16:58:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-delete-empty-features-in-a-fgdb-in-arcgis/m-p/554639#M24314</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-12-11T16:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete empty features in a FGDB in ArcGis Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-delete-empty-features-in-a-fgdb-in-arcgis/m-p/554640#M24315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you elaborate on the type of feature class you are querying?&amp;nbsp; Since the function works in general with ArcGIS Pro, there must be something different/unique/corrupted with the feature class that Pro isn't working with.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 14:48:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-delete-empty-features-in-a-fgdb-in-arcgis/m-p/554640#M24315</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2017-12-12T14:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete empty features in a FGDB in ArcGis Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-delete-empty-features-in-a-fgdb-in-arcgis/m-p/554641#M24316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In arcgis Pro (2.0.1) i use a file geodatabase. In that gdb i have two feature classes (poly). 1 feature class is empty the other&amp;nbsp;one has 1 feature.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Esri support is helping me on this one because something is not right on my end it seams. The same tool is working on there machine. I started a new project and now the tool is not giving me any error but it is not deleting the empty feature. Again if i run the same tool in ArcMap (10.5.1) it runs and deletes the empty feature as it should.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i know more from esri support i let it know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 16:57:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-delete-empty-features-in-a-fgdb-in-arcgis/m-p/554641#M24316</guid>
      <dc:creator>PeterVersteeg</dc:creator>
      <dc:date>2017-12-12T16:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete empty features in a FGDB in ArcGis Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-delete-empty-features-in-a-fgdb-in-arcgis/m-p/554642#M24317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yesterday I got same help from Esri but the script is stil not working on my machine. In fact the delete tool is not working. It runs without error but it is not deleting the feature. The tool and script are working on other computers so Esri could not help anymore. Realy frustrating becouse i have a new HP 640 workstation latest version Windows 10 latest version Arcgis Pro. I spent to much time allready searching if something is locking the features somehow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the weekend I will delete this question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2017 17:53:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-delete-empty-features-in-a-fgdb-in-arcgis/m-p/554642#M24317</guid>
      <dc:creator>PeterVersteeg</dc:creator>
      <dc:date>2017-12-14T17:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete empty features in a FGDB in ArcGis Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-delete-empty-features-in-a-fgdb-in-arcgis/m-p/554643#M24318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since Pro installs/uninstalls fairly quickly, have you tried fully uninstalling and reinstalling Pro?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2017 21:16:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-delete-empty-features-in-a-fgdb-in-arcgis/m-p/554643#M24318</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2017-12-14T21:16:59Z</dc:date>
    </item>
  </channel>
</rss>

