Hi all
I'm using ArcGIS Desktop10.6. I created Python script to process data, but I can't see any polygon after running the script. There is no error during the process and updated table is attached properly.
I run 'Check Geometry' tool and it returns "bad dataset extent".
I run 'Add Spatial Index' tool, but Error999999 shows up.
Can you help me what is wrong with my script?
arcpy.AddField_management(OutFC, "FBreak", 'TEXT', "", "", 20, "", "NULLABLE")
with arcpy.da.UpdateCursor(OutFC, ["SHAPE@","FBreak"]) as cursor:
for row in cursor:
Buff20 = arcpy.Buffer_analysis(row[0], arcpy.Geometry(), "20 meters")
CFBreak = OutPut + '\\CFBreak'
arcpy.Clip_analysis(FB, Buff20, CFBreak)
Count = arcpy.GetCount_management(CFBreak)
if Count == 0:
row[1] = "None"
elif Count >= 1:
row[1] = "Exist"
else:
pass
arcpy.Delete_management(CFBreak)
cursor.updateRow(row)