2

This question already has an answer here:

I am creating a model the will iterate through the feature classes in the dataset.

It will select attributes from each feature class, the only issue is, two of the feature classes will cause a break in the process due to being void of the attribute.

Is there a way to exclude the two said feature classes from the iteration?

marked as duplicate by PolyGeo Jul 20 '17 at 22:53

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Take a look at the answer to gis.stackexchange.com/questions/112510/… which indicates how to employ if-then logic in ModelBuilder. – PolyGeo Sep 8 '15 at 3:30
  • 1
    If you are using a FeatureClass iterator you can use the wildcard parameter to filter out the problematic FeatureClasses if they are name differently. – Hornbydd Sep 8 '15 at 15:59
0

You could either:

  1. use the answer to Using Python script as precondition in ArcGIS ModelBuilder? to employ if-then logic in ModelBuilder; or
  2. do as commented by @Hornbydd:

If you are using a FeatureClass iterator you can use the wildcard parameter to filter out the problematic FeatureClasses if they are name differently.

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