Hi all,
I have a FeatureLayer with many features.
I want to process all features using Search Cursor, but it returns me only 300 records.
Can anyone suggest, where can this limitation can be changed?
my code:
path = "some_path_to_file.sde/my_layer"
cursor = arcpy.SearchCursor(path)
for row in cursor:
//process row
del cursor
Thanks,
Stasy.
Solved! Go to Solution.
Found how to overcome this issue. For the people, who will face the same problem: I used arcpy.da.SearchCursor instead of arcpy.SearchCursor and it worked.
Found how to overcome this issue. For the people, who will face the same problem: I used arcpy.da.SearchCursor instead of arcpy.SearchCursor and it worked.