Exclude a feature type from Iteratefeatureclasses Iterator tool

431
1
06-12-2013 02:07 AM
AdarshMadhavan
Occasional Contributor
Hia,

I have a large dataset from which I am trying to Iterate feature classes and apply the selection tool on the output by some expression .

The problem, is I want to exclude Junction features from the iteration ( as the "Select tool"  expression wont work on them due to lack of the field based which the expression is made ( ie Created User = XYZ) ,
But at the same time these junction feature class should be there in the final output.

How to exclude one feature type from the Iterate feature class tool set ?

Adarsh
0 Kudos
1 Reply
markdenil
Occasional Contributor III
A custom script tool can be created that does a Describe on each feature class and looks at the featureType,
and then branches so as to skip featureType = 'SimpleJunction'.
Have a look at
Using If-Then-Else logic for branching
in the help. (search for 'branch').
0 Kudos