<?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: Add Field to Featureclass in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/add-field-to-featureclass/m-p/1291974#M69438</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm fairly sure they are functionally the same, I think with the transition from ArcMap to ArcGIS Pro ESRI tidied up the ArcPy functions to be in the format arcpy.mapping, arcpy.management etc. but the historic versions are still around presumably for backwards compatibility? If you look at some of the older geoprocessing documentation for ArcMap you will see references to the older format of arcpy.AddField_management (see here &lt;A href="https://desktop.arcgis.com/en/arcmap/10.6/tools/data-management-toolbox/add-field.htm" target="_blank"&gt;https://desktop.arcgis.com/en/arcmap/10.6/tools/data-management-toolbox/add-field.htm&lt;/A&gt;). So I'd recommend using arcpy.management.AddField(), and sticking with whatever is referenced in the most recent ArcGIS Pro documentation for python snippets.&lt;/P&gt;</description>
    <pubDate>Tue, 23 May 2023 07:54:03 GMT</pubDate>
    <dc:creator>JoshuaSharp-Heward</dc:creator>
    <dc:date>2023-05-23T07:54:03Z</dc:date>
    <item>
      <title>Add Field to Featureclass</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/add-field-to-featureclass/m-p/1291969#M69436</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;Just a clarification question as I could not find any reference document.&lt;/P&gt;&lt;P&gt;in ArcGIS Pro Python window, we have a command "arcpy.management.AddField()" and "arcpy.AddField_management()"&lt;/P&gt;&lt;P&gt;I just want to know what the difference in both commands and any recommendation on usage is.&lt;/P&gt;&lt;P&gt;in ArcGIS Pro Notebook, I get the following Help.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;Signature&lt;/STRONG&gt;:&lt;/SPAN&gt;
arcpy&lt;SPAN class=""&gt;.&lt;/SPAN&gt;management&lt;SPAN class=""&gt;.&lt;/SPAN&gt;AddField&lt;SPAN class=""&gt;(&lt;/SPAN&gt;
    in_table&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;None&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;
    field_name&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;None&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;
    field_type&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;None&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;
    field_precision&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;None&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;
    field_scale&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;None&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;
    field_length&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;None&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;
    field_alias&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;None&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;
    field_is_nullable&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;None&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;
    field_is_required&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;None&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;
    field_domain&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;None&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;Docstring:&lt;/SPAN&gt;
AddField_management(in_table, field_name, field_type, {field_precision}, {field_scale}, {field_length}, {field_alias}, {field_is_nullable}, {field_is_required}, {field_domain})&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 07:23:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/add-field-to-featureclass/m-p/1291969#M69436</guid>
      <dc:creator>qnadeem</dc:creator>
      <dc:date>2023-05-23T07:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: Add Field to Featureclass</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/add-field-to-featureclass/m-p/1291974#M69438</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm fairly sure they are functionally the same, I think with the transition from ArcMap to ArcGIS Pro ESRI tidied up the ArcPy functions to be in the format arcpy.mapping, arcpy.management etc. but the historic versions are still around presumably for backwards compatibility? If you look at some of the older geoprocessing documentation for ArcMap you will see references to the older format of arcpy.AddField_management (see here &lt;A href="https://desktop.arcgis.com/en/arcmap/10.6/tools/data-management-toolbox/add-field.htm" target="_blank"&gt;https://desktop.arcgis.com/en/arcmap/10.6/tools/data-management-toolbox/add-field.htm&lt;/A&gt;). So I'd recommend using arcpy.management.AddField(), and sticking with whatever is referenced in the most recent ArcGIS Pro documentation for python snippets.&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 07:54:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/add-field-to-featureclass/m-p/1291974#M69438</guid>
      <dc:creator>JoshuaSharp-Heward</dc:creator>
      <dc:date>2023-05-23T07:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Add Field to Featureclass</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/add-field-to-featureclass/m-p/1291982#M69439</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/223231"&gt;@JoshuaSharp-Heward&lt;/a&gt;&amp;nbsp; Thanks for clarification&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 08:55:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/add-field-to-featureclass/m-p/1291982#M69439</guid>
      <dc:creator>qnadeem</dc:creator>
      <dc:date>2023-05-23T08:55:02Z</dc:date>
    </item>
  </channel>
</rss>

