When I try to run NumPyArrayToFeatureClass from both and ArcGIS Pro interactive session (built in python console) or from a script, it does not let me overwrite output despite setting the env.overwriteOutput variable to True
>>> arcpy.env.overwriteOutput = True
>>> arcpy.da.NumPyArrayToFeatureClass(arr,fc,['xy'],sr)
Traceback (most recent call last):
File "<pyshell#28>", line 1, in <module>
arcpy.da.NumPyArrayToFeatureClass(arr,fc,['xy'],sr)
RuntimeError: table 'C:\Users\olive\OneDrive\Documents\ArcGIS\Projects\MyProject\MyProject.gdb\charlie' Exists
Solved! Go to Solution.
That is because you can't... check the warning in the help topic same in arcmap or in Pro
That is because you can't... check the warning in the help topic same in arcmap or in Pro