<?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: NumPyArrayToFeatureClass gives RuntimeError: create table in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/numpyarraytofeatureclass-gives-runtimeerror-create/m-p/498172#M21841</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;your geometry field... what was it named? and what was it in the array?&lt;/P&gt;&lt;P&gt;you indicate it was ['shape']? or ['Shape@'] or 'SHAPE@' or some other variant&lt;/P&gt;&lt;P&gt;use&lt;/P&gt;&lt;PRE class="language-python line-numbers"&gt;&lt;CODE&gt;a&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;dtype‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and get the exact case and spelling of the geometry field.&lt;/P&gt;&lt;P&gt;Also you will need to set&lt;/P&gt;&lt;PRE class="language-python line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;explode_to_points&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token boolean"&gt;True&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;  &lt;SPAN class="comment token"&gt;# in order to get points, ‍&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;you can't set explode_to_points=False, unless you want the centroid of the original polygon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thirdly, if the output featureclass name exists, it will fail&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Feb 2019 10:44:30 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2019-02-26T10:44:30Z</dc:date>
    <item>
      <title>NumPyArrayToFeatureClass gives RuntimeError: create table</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/numpyarraytofeatureclass-gives-runtimeerror-create/m-p/498171#M21840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've tried to change polygon feautre&amp;nbsp; to point by using tools:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;FeatureClassToNumPyArray
NumPyArrayToFeatureClass.
My code as below:
&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #66d9ef; font-style: italic;"&gt;import &lt;/SPAN&gt;arcpy
&lt;SPAN style="color: #66d9ef; font-style: italic;"&gt;import &lt;/SPAN&gt;numpy &lt;SPAN style="color: #66d9ef; font-style: italic;"&gt;as &lt;/SPAN&gt;np
in_file&lt;SPAN style="color: #f92672;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #e6db74;"&gt;'C:/ios/OneDrive/siatki_obliczeniowe/siatki.gdb/siatka_005'
&lt;/SPAN&gt;a &lt;SPAN style="color: #f92672;"&gt;= &lt;/SPAN&gt;arcpy.da.&lt;SPAN style="color: #66d9ef;"&gt;FeatureClassToNumPyArray&lt;/SPAN&gt;(in_file, [&lt;SPAN style="color: #e6db74;"&gt;"*"&lt;/SPAN&gt;], &lt;SPAN style="color: #aa4926;"&gt;explode_to_points&lt;/SPAN&gt;&lt;SPAN style="color: #f92672;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef; font-style: italic;"&gt;False&lt;/SPAN&gt;)
out_file&lt;SPAN style="color: #f92672;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #e6db74;"&gt;'C:/ios/OneDrive/siatki_obliczeniowe/siatki.gdb/xxxx3'
&lt;/SPAN&gt;&lt;SPAN style="color: #e6db74;"&gt;
&lt;/SPAN&gt;arcpy.da.&lt;SPAN style="color: #66d9ef;"&gt;NumPyArrayToFeatureClass&lt;/SPAN&gt;(a, out_file,[&lt;SPAN style="color: #e6db74;"&gt;"shape"&lt;/SPAN&gt;])&lt;/PRE&gt;&lt;BR /&gt;I got an error:&lt;BR /&gt;&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;&amp;nbsp; File "C:/ios/OneDrive/python/feature_to_point.py", line 7, in &amp;lt;module&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.da.NumPyArrayToFeatureClass(a, out_file,["shape"])&lt;BR /&gt;RuntimeError: create table&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I had changed out_file to shp file and it works but it is not solution for me. I would like to be able write to .gdb.&lt;BR /&gt;Any idea how to solve this problem?&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:53:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/numpyarraytofeatureclass-gives-runtimeerror-create/m-p/498171#M21840</guid>
      <dc:creator>GrzegorzJeleniewicz</dc:creator>
      <dc:date>2021-12-11T21:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: NumPyArrayToFeatureClass gives RuntimeError: create table</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/numpyarraytofeatureclass-gives-runtimeerror-create/m-p/498172#M21841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;your geometry field... what was it named? and what was it in the array?&lt;/P&gt;&lt;P&gt;you indicate it was ['shape']? or ['Shape@'] or 'SHAPE@' or some other variant&lt;/P&gt;&lt;P&gt;use&lt;/P&gt;&lt;PRE class="language-python line-numbers"&gt;&lt;CODE&gt;a&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;dtype‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and get the exact case and spelling of the geometry field.&lt;/P&gt;&lt;P&gt;Also you will need to set&lt;/P&gt;&lt;PRE class="language-python line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;explode_to_points&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token boolean"&gt;True&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;  &lt;SPAN class="comment token"&gt;# in order to get points, ‍&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;you can't set explode_to_points=False, unless you want the centroid of the original polygon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thirdly, if the output featureclass name exists, it will fail&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2019 10:44:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/numpyarraytofeatureclass-gives-runtimeerror-create/m-p/498172#M21841</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-02-26T10:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: NumPyArrayToFeatureClass gives RuntimeError: create table</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/numpyarraytofeatureclass-gives-runtimeerror-create/m-p/498173#M21842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;my geomtery field is ['Shape']. I've cheked it with a.dtype and got result:&lt;/P&gt;&lt;P&gt;[('OBJECTID', '&amp;lt;i4'), (&lt;STRONG&gt;'Shape', '&amp;lt;f8', (2,)&lt;/STRONG&gt;), ('Shape_Length', '&amp;lt;f8'), ('Shape_Area', '&amp;lt;f8'), ('miasto', '&amp;lt;U50')]&lt;/P&gt;&lt;P&gt;I've changed small 's' for capital 'S', but it didn't help &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I want the centroid of the original polygon, so explode_to_points=False is ok for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output featureclass name is set to new each run.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2019 11:10:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/numpyarraytofeatureclass-gives-runtimeerror-create/m-p/498173#M21842</guid>
      <dc:creator>GrzegorzJeleniewicz</dc:creator>
      <dc:date>2019-02-26T11:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: NumPyArrayToFeatureClass gives RuntimeError: create table</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/numpyarraytofeatureclass-gives-runtimeerror-create/m-p/498174#M21843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hmmm if you only want the centroid coordinate, you should avoid using the true shape, but use one of the alternates and specify your field names explictly&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/arcpy/data-access/featureclasstonumpyarray.htm" title="https://pro.arcgis.com/en/pro-app/arcpy/data-access/featureclasstonumpyarray.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;FeatureClassToNumPyArray—Data Access module | ArcGIS Desktop&lt;/A&gt;&lt;/P&gt;&lt;P&gt;you can easily parse the fields rather than using "*" which is ok in some situations, but the shape field should be parsed into x and y coordinates usually&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;flds = ['OID@', 'SHAPE@X', 'SHAPE@Y']

other_flds = [i.name for i in arcpy.ListFields(fc) if i.type not in ('OID', 'Geometry')]

flds.extend(other_flds)

flds

['OID@', 'SHAPE@X', 'SHAPE@Y', 'ID', 'Norm', 'Rank1', 'Text01', 'Text02', 'Xs', 'Ys',
 'Int_short', 'Float_fld', 'Grid_code', 'Rank_shp', 'PolyID', 'Grid_Count',
 'Diff_from_mean', 'x']&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:53:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/numpyarraytofeatureclass-gives-runtimeerror-create/m-p/498174#M21843</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2021-12-11T21:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: NumPyArrayToFeatureClass gives RuntimeError: create table</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/numpyarraytofeatureclass-gives-runtimeerror-create/m-p/498175#M21844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I changed my code following your instructions:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #66d9ef; font-style: italic;"&gt;import &lt;/SPAN&gt;arcpy
&lt;SPAN style="color: #66d9ef; font-style: italic;"&gt;import &lt;/SPAN&gt;numpy &lt;SPAN style="color: #66d9ef; font-style: italic;"&gt;as &lt;/SPAN&gt;np
in_file&lt;SPAN style="color: #f92672;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #e6db74;"&gt;'C:/ios/OneDrive/siatki_obliczeniowe/siatki.gdb/strefy_miejskie_siatka_01'
&lt;/SPAN&gt;flds &lt;SPAN style="color: #f92672;"&gt;= &lt;/SPAN&gt;[&lt;SPAN style="color: #e6db74;"&gt;'OID@'&lt;/SPAN&gt;, &lt;SPAN style="color: #e6db74;"&gt;'SHAPE@X'&lt;/SPAN&gt;, &lt;SPAN style="color: #e6db74;"&gt;'SHAPE@Y'&lt;/SPAN&gt;]
other_flds &lt;SPAN style="color: #f92672;"&gt;= &lt;/SPAN&gt;[i.name &lt;SPAN style="color: #66d9ef; font-style: italic;"&gt;for &lt;/SPAN&gt;i &lt;SPAN style="color: #66d9ef; font-style: italic;"&gt;in &lt;/SPAN&gt;arcpy.&lt;SPAN style="color: #66d9ef;"&gt;ListFields&lt;/SPAN&gt;(in_file) &lt;SPAN style="color: #66d9ef; font-style: italic;"&gt;if &lt;/SPAN&gt;i.type &lt;SPAN style="color: #66d9ef; font-style: italic;"&gt;not in &lt;/SPAN&gt;(&lt;SPAN style="color: #e6db74;"&gt;'OID'&lt;/SPAN&gt;, &lt;SPAN style="color: #e6db74;"&gt;'Geometry'&lt;/SPAN&gt;)]
flds.&lt;SPAN style="color: #66d9ef;"&gt;extend&lt;/SPAN&gt;(other_flds)
a &lt;SPAN style="color: #f92672;"&gt;= &lt;/SPAN&gt;arcpy.da.&lt;SPAN style="color: #66d9ef;"&gt;FeatureClassToNumPyArray&lt;/SPAN&gt;(in_file, flds, &lt;SPAN style="color: #aa4926;"&gt;explode_to_points&lt;/SPAN&gt;&lt;SPAN style="color: #f92672;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef; font-style: italic;"&gt;False&lt;/SPAN&gt;)
out_file&lt;SPAN style="color: #f92672;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #e6db74;"&gt;'C:/ios/OneDrive/siatki_obliczeniowe/siatki.gdb/axxxyz9'
&lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;print &lt;/SPAN&gt;(a.dtype)
arcpy.da.&lt;SPAN style="color: #66d9ef;"&gt;NumPyArrayToFeatureClass&lt;/SPAN&gt;(a, out_file,[&lt;SPAN style="color: #e6db74;"&gt;'SHAPE@X'&lt;/SPAN&gt;, &lt;SPAN style="color: #e6db74;"&gt;'SHAPE@Y'&lt;/SPAN&gt;])&lt;/PRE&gt;&lt;P&gt;Unfortunately I got error again:&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt;&amp;nbsp; File "C:/ios/OneDrive/python/feature_to_point.py", line 10, in &amp;lt;module&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.da.NumPyArrayToFeatureClass(a, out_file,['SHAPE@X', 'SHAPE@Y'])&lt;BR /&gt;RuntimeError: create table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The most annoying&amp;nbsp; fact is that if I change the 'out_file ' to shp file instead of feature class in geodatabase (.gdb) it works (with both code versions).&lt;/STRONG&gt; For sure there is a problem with saving output to geodatabase (.gdb). I have no clue why.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN lang="en"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:53:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/numpyarraytofeatureclass-gives-runtimeerror-create/m-p/498175#M21844</guid>
      <dc:creator>GrzegorzJeleniewicz</dc:creator>
      <dc:date>2021-12-11T21:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: NumPyArrayToFeatureClass gives RuntimeError: create table</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/numpyarraytofeatureclass-gives-runtimeerror-create/m-p/498176#M21845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got answer:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://gis.stackexchange.com/questions/313598/numpyarraytofeatureclass-gives-runtimeerror-create-table" title="https://gis.stackexchange.com/questions/313598/numpyarraytofeatureclass-gives-runtimeerror-create-table"&gt;arcgis desktop - NumPyArrayToFeatureClass gives RuntimeError: create table - Geographic Information Systems Stack Exchan…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2019 14:13:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/numpyarraytofeatureclass-gives-runtimeerror-create/m-p/498176#M21845</guid>
      <dc:creator>GrzegorzJeleniewicz</dc:creator>
      <dc:date>2019-02-26T14:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: NumPyArrayToFeatureClass gives RuntimeError: create table</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/numpyarraytofeatureclass-gives-runtimeerror-create/m-p/498177#M21846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just noticed you are using python 2.7... may be the issue since I have no problem using the process with either points exploded or not exploded using python 3&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2019 14:38:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/numpyarraytofeatureclass-gives-runtimeerror-create/m-p/498177#M21846</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-02-26T14:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: NumPyArrayToFeatureClass gives RuntimeError: create table</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/numpyarraytofeatureclass-gives-runtimeerror-create/m-p/498178#M21847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've got already the solution and posted link to it above. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2019 14:47:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/numpyarraytofeatureclass-gives-runtimeerror-create/m-p/498178#M21847</guid>
      <dc:creator>GrzegorzJeleniewicz</dc:creator>
      <dc:date>2019-02-26T14:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: NumPyArrayToFeatureClass gives RuntimeError: create table</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/numpyarraytofeatureclass-gives-runtimeerror-create/m-p/498179#M21848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for future reference&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;all_flds &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;f&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;name &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; f &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ListFields&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;fc&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"*"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;

editable_flds &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;f&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;name &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; f &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ListFields&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;fc&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"*"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; f&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;editable&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;

all_flds

&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'OBJECTID'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'Shape'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'Grid_codes'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'F_'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'Shape_Length'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'Shape_Area'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'Rand_0'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
 &lt;SPAN class="string token"&gt;'Rand_1'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'Shape_Length_1'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'Shape_Area_1'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;

editable_flds

&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Shape'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'Grid_codes'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'F_'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'Rand_0'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'Rand_1'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;OBJECTID, and Shape info can be accessed through their @ property, other variants of Shape aren't editable and removing them from the list of candidates is a safe bet... at least for a file gdb&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:53:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/numpyarraytofeatureclass-gives-runtimeerror-create/m-p/498179#M21848</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2021-12-11T21:53:23Z</dc:date>
    </item>
  </channel>
</rss>

