I have several shapefiles in a folder and all of them are points. What I want is to choose those that have more than two records.

I am using the ArcGIS ModelBuilder. I made an iterate feature class and then I made a get count that give me the number of rows for each shapefile. From this step I cannot do anything else. But I think the solution is to use one tool that has a logical condition and so let me just obtain the shapefiles that has more than 2 rows.

Any suggestions?

1 Answer 1


You are on the right track, use branching logic on the get count variable, here is the If-Then-Else logic for branching logic page:

Using If-Then-Else logic for branching

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.