Model Builder: Skipping shapefiles without attributes

Discussion created by jordanawhite on Aug 9, 2013
Latest reply on Aug 9, 2013 by Caleb1987

I'm trying to create 10m spaced points based on some line data I have. This line data is split over many shapefiles, and some are without attributes following some pre-processing. I want to skip over these files without attributes, as they stop my model.

The model stops at "create random points" on the third file that the model iterates through, as there is no field data to populate the number of points required. Is there a way that I can set up my model to ignore such files without attributes and use the shapefiles that can go through the whole process?