<?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: ArcGIS Pro at 2.4/arcpy- FeatureClassToFeatureClass_conversion does not honor overwriteOutput env setting in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/arcgis-pro-at-2-4-arcpy-featureclasstofeatureclass/m-p/513306#M29120</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So will delete work? (inconvenient or not) even if the overwrite is working? Or will it not delete?&lt;/P&gt;&lt;P&gt;If it will delete and not overwrite, then that is something that should be reported to tech support.&lt;/P&gt;&lt;P&gt;Python wouldn't even be the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Aug 2019 18:04:33 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2019-08-07T18:04:33Z</dc:date>
    <item>
      <title>ArcGIS Pro at 2.4/arcpy- FeatureClassToFeatureClass_conversion does not honor overwriteOutput env setting</title>
      <link>https://community.esri.com/t5/data-management-questions/arcgis-pro-at-2-4-arcpy-featureclasstofeatureclass/m-p/513302#M29116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello - I upgraded to Pro to 2.4 yesterday and lo and behold my python scripts for overwriting feature classes using the FeatureClassToFeatureClass_conversion tool no longer honors the arcpy.env.overwriteOutput = True environment setting.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A whole bunch of my data management scripts depend on this!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script now keeps telling me that my feature class already exists.&amp;nbsp; Of course it does, I'm doing an overwrite.&amp;nbsp; Or at least I did.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This was working just fine at 2.1, 2.2, 2.3.x&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't use Copy for most of my layers because I don't want bring over (in some cases) dozens of related tables....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;# Import system modules&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; sys&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; os&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; time&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; smtplib
&lt;SPAN class="keyword token"&gt;from&lt;/SPAN&gt; datetime &lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; date&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; timedelta
&lt;SPAN class="keyword token"&gt;from&lt;/SPAN&gt; arcpy &lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; env

&lt;SPAN class="comment token"&gt;# Local variables...&lt;/SPAN&gt;
message &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;
current_time &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; time&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;asctime&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
todaysDate &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; date&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;today&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
priorYear &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; str&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;todaysDate &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt; timedelta&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;days&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;547&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;#547&lt;/SPAN&gt;
starting_time &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; time&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;time&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SetLogHistory&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token boolean"&gt;False&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;env&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;configKeyword&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"DEFAULTS"&lt;/SPAN&gt;
arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;env&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;overwriteOutput &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token boolean"&gt;True&lt;/SPAN&gt;
arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;env&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;maintainAttachments &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token boolean"&gt;False&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;try&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
 env&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;workspace &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; r&lt;SPAN class="string token"&gt;"\\scggisis01pw\\agsfed\\data-store\\VantagePoint\\Data"&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;#\\scggisis01pw\\agsfed&lt;/SPAN&gt;
 coordinate_system &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; r&lt;SPAN class="string token"&gt;"C:\\StageDbsAE\\CoordinateSystems.gdb\\WebMercator"&lt;/SPAN&gt;
 env&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;outputCoordinateSystem &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; coordinate_system
 env&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;geographicTransformations &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"NAD_1983_HARN_To_WGS_1984_2"&lt;/SPAN&gt;
 &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; fc &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ListFeatureClasses&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;
 outLocation &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; r&lt;SPAN class="string token"&gt;"\\scggisis01pw\\agsfed\\data-store\\VantagePoint\\Data\\VpAnno.gdb\\VantagePointLayers"&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;# VantagePoint.gdb\&lt;/SPAN&gt;
 outFC &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; fc&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;4&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;#neg slice for shapes, 4 from right&lt;/SPAN&gt;
 &lt;SPAN class="comment token"&gt;#if outFC != "UtilityBilling":&lt;/SPAN&gt;
 &lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;outLocation &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"\\"&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; outFC&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
 &lt;SPAN class="comment token"&gt;#disableFC = outLocation + "\\" + outFC&lt;/SPAN&gt;
 arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;FeatureClassToFeatureClass_conversion&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;fc&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; outLocation&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; outFC&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
 message &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; message &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"\n"&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Added Features: "&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; outFC
 &lt;SPAN class="comment token"&gt;#arcpy.RemoveSpatialIndex_management(disableFC)&lt;/SPAN&gt;
 &lt;SPAN class="comment token"&gt;#arcpy.AddSpatialIndex_management(disableFC)&lt;/SPAN&gt;
 &lt;SPAN class="comment token"&gt;#message = message + "\n" + "Handeld Indexing: " + disableFC&lt;/SPAN&gt;
 &lt;SPAN class="comment token"&gt;#else:&lt;/SPAN&gt;
 &lt;SPAN class="comment token"&gt;# pass&lt;/SPAN&gt;
 
&lt;SPAN class="keyword token"&gt;except&lt;/SPAN&gt; Exception&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
 &lt;SPAN class="comment token"&gt;# If an error occurred, print line number and error message&lt;/SPAN&gt;
 &lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; traceback&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; sys
 tb &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; sys&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;exc_info&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;&lt;SPAN class="number token"&gt;2&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;
 e &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; sys&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;exc_info&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;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;
 &lt;SPAN class="comment token"&gt;#print(e.args[0])&lt;/SPAN&gt;
 &lt;SPAN class="comment token"&gt;#print "Line %i" % tb.tb_lineno&lt;/SPAN&gt;
 message &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; message &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"\n"&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Line %i"&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;%&lt;/SPAN&gt; tb&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;tb_lineno
 message &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; message &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"\n"&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; str&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;e&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;/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;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;/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 22:26:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/arcgis-pro-at-2-4-arcpy-featureclasstofeatureclass/m-p/513302#M29116</guid>
      <dc:creator>DavidColey</dc:creator>
      <dc:date>2021-12-11T22:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro at 2.4/arcpy- FeatureClassToFeatureClass_conversion does not honor overwriteOutput env setting</title>
      <link>https://community.esri.com/t5/data-management-questions/arcgis-pro-at-2-4-arcpy-featureclasstofeatureclass/m-p/513303#M29117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;    &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Exists&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;out_fc&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;and&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;env&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;overwriteOutput&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
        arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Delete_management&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;out_fc&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;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Sometimes a file lock might do it, so you can check to see if the output featureclass exists 'AND' overwriteOutput is True and if they both are, try a Delete.... If it won't delete, then you have other issues.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:26:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/arcgis-pro-at-2-4-arcpy-featureclasstofeatureclass/m-p/513303#M29117</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2021-12-11T22:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro at 2.4/arcpy- FeatureClassToFeatureClass_conversion does not honor overwriteOutput env setting</title>
      <link>https://community.esri.com/t5/data-management-questions/arcgis-pro-at-2-4-arcpy-featureclasstofeatureclass/m-p/513304#M29118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I appreciate the response.&amp;nbsp; Executing the Delete is not an issue and I can easily do that.&amp;nbsp; However, I shouldn't have to the python 3.16.8 IDLE should honor the environment setting and it's not.&amp;nbsp; That is the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2019 16:23:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/arcgis-pro-at-2-4-arcpy-featureclasstofeatureclass/m-p/513304#M29118</guid>
      <dc:creator>DavidColey</dc:creator>
      <dc:date>2019-08-07T16:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro at 2.4/arcpy- FeatureClassToFeatureClass_conversion does not honor overwriteOutput env setting</title>
      <link>https://community.esri.com/t5/data-management-questions/arcgis-pro-at-2-4-arcpy-featureclasstofeatureclass/m-p/513305#M29119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My mistake -&amp;nbsp; the idle is honoring the setting:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; arcpy
&lt;SPAN class="keyword token"&gt;from&lt;/SPAN&gt; arcpy &lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; env
arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;env&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;overwriteOutput &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token boolean"&gt;True&lt;/SPAN&gt;

environments &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ListEnvironments&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;# Sort the environment list, disregarding capitalization&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;#&lt;/SPAN&gt;
environments&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;sort&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;key&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;str&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;lower&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; environment &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; environments&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
 &lt;SPAN class="comment token"&gt;# As the environment is passed as a variable, use Python's getattr &lt;/SPAN&gt;
 &lt;SPAN class="comment token"&gt;# to evaluate the environment's value&lt;/SPAN&gt;
 &lt;SPAN class="comment token"&gt;#&lt;/SPAN&gt;
 env_value &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; getattr&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;env&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; environment&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;# Format and print each environment and its current setting&lt;/SPAN&gt;
 &lt;SPAN class="comment token"&gt;#&lt;/SPAN&gt;
 &lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"{0:&amp;lt;30}: {1}"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;format&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;environment&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; env_value&lt;SPAN class="punctuation token"&gt;)&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;/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 22:27:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/arcgis-pro-at-2-4-arcpy-featureclasstofeatureclass/m-p/513305#M29119</guid>
      <dc:creator>DavidColey</dc:creator>
      <dc:date>2021-12-11T22:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro at 2.4/arcpy- FeatureClassToFeatureClass_conversion does not honor overwriteOutput env setting</title>
      <link>https://community.esri.com/t5/data-management-questions/arcgis-pro-at-2-4-arcpy-featureclasstofeatureclass/m-p/513306#M29120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So will delete work? (inconvenient or not) even if the overwrite is working? Or will it not delete?&lt;/P&gt;&lt;P&gt;If it will delete and not overwrite, then that is something that should be reported to tech support.&lt;/P&gt;&lt;P&gt;Python wouldn't even be the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2019 18:04:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/arcgis-pro-at-2-4-arcpy-featureclasstofeatureclass/m-p/513306#M29120</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-08-07T18:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro at 2.4/arcpy- FeatureClassToFeatureClass_conversion does not honor overwriteOutput env setting</title>
      <link>https://community.esri.com/t5/data-management-questions/arcgis-pro-at-2-4-arcpy-featureclasstofeatureclass/m-p/513307#M29121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Really?&amp;nbsp; Respectfully I disagree because we just ran the exact same thing in python IDLE 2.7.16 with the overwrite environment setting set to true and it works there just fine without having to run a delete first. More - the ArcPro 2.4 GP tool runs and honors the overall GP environment setting, as one would expect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But to answer your question, yes delete does work in python IDLE 3.6.8, then of course the tool works. This occurs whether running against the default python environment or my updated (arcgis package 1.6.2) cloned environment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2019 20:31:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/arcgis-pro-at-2-4-arcpy-featureclasstofeatureclass/m-p/513307#M29121</guid>
      <dc:creator>DavidColey</dc:creator>
      <dc:date>2019-08-07T20:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro at 2.4/arcpy- FeatureClassToFeatureClass_conversion does not honor overwriteOutput env setting</title>
      <link>https://community.esri.com/t5/data-management-questions/arcgis-pro-at-2-4-arcpy-featureclasstofeatureclass/m-p/513308#M29122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;oh also I can say that the maintainAttachments env var is being honored so there is something somewhere that was missed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2019 20:45:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/arcgis-pro-at-2-4-arcpy-featureclasstofeatureclass/m-p/513308#M29122</guid>
      <dc:creator>DavidColey</dc:creator>
      <dc:date>2019-08-07T20:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro at 2.4/arcpy- FeatureClassToFeatureClass_conversion does not honor overwriteOutput env setting</title>
      <link>https://community.esri.com/t5/data-management-questions/arcgis-pro-at-2-4-arcpy-featureclasstofeatureclass/m-p/513309#M29123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;# ArcGIS Pro uses Python 3.6.8&lt;/SPAN&gt;

sys&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;executable
&lt;SPAN class="string token"&gt;'C:\\arc_pro\\bin\\Python\\envs\\arcgispro-py3\\pythonw.exe'&lt;/SPAN&gt;

sys&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;base_exec_prefix
&lt;SPAN class="string token"&gt;'C:\\arc_pro\\bin\\Python\\envs\\arcgispro-py3'&lt;/SPAN&gt;

‍‍‍‍‍‍‍‍arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;__path__
&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'C:\\arc_pro\\Resources\\ArcPy\\arcpy'&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;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Change the 'arc_pro' portion to match your installation path.&amp;nbsp; You can compare the version of python with the version of 'arcpy'&lt;/P&gt;&lt;P&gt;The paths should jive, unless there is a cross-over between arcpy and python in your setup&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:27:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/arcgis-pro-at-2-4-arcpy-featureclasstofeatureclass/m-p/513309#M29123</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2021-12-11T22:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro at 2.4/arcpy- FeatureClassToFeatureClass_conversion does not honor overwriteOutput env setting</title>
      <link>https://community.esri.com/t5/data-management-questions/arcgis-pro-at-2-4-arcpy-featureclasstofeatureclass/m-p/513310#M29124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok thanks for the info&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2019 14:05:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/arcgis-pro-at-2-4-arcpy-featureclasstofeatureclass/m-p/513310#M29124</guid>
      <dc:creator>DavidColey</dc:creator>
      <dc:date>2019-08-08T14:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro at 2.4/arcpy- FeatureClassToFeatureClass_conversion does not honor overwriteOutput env setting</title>
      <link>https://community.esri.com/t5/data-management-questions/arcgis-pro-at-2-4-arcpy-featureclasstofeatureclass/m-p/513311#M29125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got it fixed....honoring overwrite now&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get Outlook for Android&amp;lt;https://aka.ms/ghei36&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2019 14:38:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/arcgis-pro-at-2-4-arcpy-featureclasstofeatureclass/m-p/513311#M29125</guid>
      <dc:creator>MichaelStranovsky</dc:creator>
      <dc:date>2019-08-08T14:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro at 2.4/arcpy- FeatureClassToFeatureClass_conversion does not honor overwriteOutput env setting</title>
      <link>https://community.esri.com/t5/data-management-questions/arcgis-pro-at-2-4-arcpy-featureclasstofeatureclass/m-p/513312#M29126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same problem.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;sys.executable&lt;/SPAN&gt;
'C:\\Users\\myname\\AppData\\Local\\ESRI\\conda\\envs\\myenv\\python.exe'
arcpy.__path__

['C:\\Program Files\\ArcGIS\\Pro\\Resources\\ArcPy\\arcpy']&lt;/PRE&gt;&lt;P&gt;How did you fix it? Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:27:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/arcgis-pro-at-2-4-arcpy-featureclasstofeatureclass/m-p/513312#M29126</guid>
      <dc:creator>BryanLiu</dc:creator>
      <dc:date>2021-12-11T22:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro at 2.4/arcpy- FeatureClassToFeatureClass_conversion does not honor overwriteOutput env setting</title>
      <link>https://community.esri.com/t5/data-management-questions/arcgis-pro-at-2-4-arcpy-featureclasstofeatureclass/m-p/513313#M29127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This never did get fixed.&amp;nbsp; The solution is to delete the feature classes first.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Nov 2019 21:40:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/arcgis-pro-at-2-4-arcpy-featureclasstofeatureclass/m-p/513313#M29127</guid>
      <dc:creator>DavidColey</dc:creator>
      <dc:date>2019-11-13T21:40:02Z</dc:date>
    </item>
  </channel>
</rss>

