I have the following block of code:
cursor = arcpy.da.SearchCursor(fc,"FMapZone")for row in cursor: arcpy.Select_analysis(fc, fc + "Zone" + str(row[0]), "'FMapZone' = " + str(row[0]))And it gives me an error, ERROR 000670: output Output Feature Class is same as input Input Features.
Table contains just 6 rows and FMapZone is an Int field containing datas 1 through 6.
The input and output file names are clearly not the same because it is the shapefile name with "Zone1" to "Zone6" appended to it, so I can't figure out what's wrong.
أكثر...
cursor = arcpy.da.SearchCursor(fc,"FMapZone")for row in cursor: arcpy.Select_analysis(fc, fc + "Zone" + str(row[0]), "'FMapZone' = " + str(row[0]))And it gives me an error, ERROR 000670: output Output Feature Class is same as input Input Features.
Table contains just 6 rows and FMapZone is an Int field containing datas 1 through 6.
The input and output file names are clearly not the same because it is the shapefile name with "Zone1" to "Zone6" appended to it, so I can't figure out what's wrong.
أكثر...