Hi all! I'm new to model building and I need help...
I want to select features in order to delete them. The selection is based on the values of a column in a csv table. The idea is to iterate over the csv table rows (ITERATE ROW SELECTION) and use the output value to select features in the feature class.
Is this something that can be done? If yes, how? If not, is there another way?
Solved! Go to Solution.
I don't use model builder unfortunately so this may be unnecessarily involved.
Iterate Row Selection ->
use row output (green) as input to Get Field Value (specify the field name in the properties) ->
rename the Get Field Value output to something like attribute ->
Insert Select Layer By Attribute tool ->
In the Select by Attribute tool properties, write an expression such as
youFieldName = '%attribute%'
Then connect your data to the Select by Attribute tool