Select to view content in your preferred language

Exclude a feature type from Iteratefeatureclasses Iterator tool

516
1
06-12-2013 02:07 AM
AdarshMadhavan
Deactivated User
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
Frequent Contributor
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