Hi Everyone,
I have updated my ArcGIS from ArcGIS 10.0 to ArcGIS 10.1 and now my python code is SOOOO SLOW. And worked fine in ArcGIC 10.0!! What is the difference between to two??
Python Code:
### Import arcpy module
import arcpy
# Local variables:
dir = "E:\\Dawson_Monique\\Weather_Grid\\Louis_Excel_2\\Prov_MB\\"
for nodes in range(1,152):
name = "nodes_gp_" + str(nodes) + ".csv"
xyfile = dir + name
eventfile = dir + "layer\\nodes_gp_"+ str(nodes) + "_layer.shp"
arcpy.MakeXYEventLayer_management(xyfile, "lon", "lat", xyfile, "", "")
arcpy.CopyFeatures_management(xyfile, eventfile, "", "0", "0", "0")
print nodes
print "done"
The Copy Feature portion is Slow. Why? Use to take 5 min now all day.
Thanks
MO
Message was edited by: Curtis Price
(edited title, formatted code)