Skip to main content
10 events
when toggle format what by license comment
Jan 7, 2015 at 3:23 history edited PolyGeo CC BY-SA 3.0
added 524 characters in body
Jan 7, 2015 at 3:11 comment added PolyGeo I think it is best to research/ask about your 000210 error as a new question now that this Q&A has evolved past where you were originally stuck. Don't be afraid to add in some extra print statements to make sure that variables are holding precisely what you think they are and/or to try running that Copy Features manually (with the same parameters) as a test to see if the issue is outside of ArcPy.
Jan 7, 2015 at 3:09 comment added Daimon Nurse I have double checked, the geodatabase does exists on file and the feature class has not been created as yet. I even used the Select_anaylsis tool and I still get the 000210 error
Jan 7, 2015 at 2:49 comment added PolyGeo Perhaps research/ask about the 000210 error separately - it is frequently seen and in this case I am guessing that either your file geodatabase does not exist or your feature class already exists.
Jan 7, 2015 at 2:42 comment added Daimon Nurse Traceback : File "C:\Python27\ArcGIS10.1\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", line 326, in RunScript exec codeObject in main.__dict__ File "C:\Users\Daimon Nurse\Desktop\DFMPROJECT\Scripts\polylinetopolygon.py", line 17, in <module> arcpy.CopyFeatures_management(outlayer, outfile) File "C:\Program Files (x86)\ArcGIS\Desktop10.1\arcpy\arcpy\management.py", line 2226, in CopyFeatures raise e ExecuteError: ERROR 000210: Cannot create output C:\Users\Daimon Nurse\Desktop\Grounds Project\DFMGROUNDS.gdb\fc1 Failed to execute (CopyFeatures).
Jan 7, 2015 at 2:30 history edited PolyGeo CC BY-SA 3.0
added 332 characters in body
Jan 7, 2015 at 2:20 comment added Daimon Nurse How do I use it in : output = r'C:\Users\Daimon Nurse\Desktop\Grounds Project\DFMGROUNDS.gdb' outfile = os.path.join (output, {0}.format(i)) arcpy.CopyFeatures_management(outlayer, outfile)
Jan 7, 2015 at 2:20 comment added Daimon Nurse This solved the problem :arcpy.SelectLayerByAttribute_management (outlayer, "NEW_SELECTION", '"OBJECTID" = {0}'.format(i) )
Jan 7, 2015 at 2:19 vote accept Daimon Nurse
Jan 7, 2015 at 1:55 history answered PolyGeo CC BY-SA 3.0