Hi everyone,
I'm trying to select from a dataset from a feature class. Then I would like to know if there are any records to make a buffer. I'm trying to do that using "If Row Count Is" tool, but I think I'm not understanding because the next tools has became in gray.
Any help?
Thanks a lot.
Get Count (Data Management)—ArcGIS Pro | Documentation
Examples of using iterators in ModelBuilder—ArcGIS Pro | Documentation
Don't you need the count before deciding what to do with it?
Hi Dan,
Thank you for your interest. Yes, I need to know if the feature class called "s_2calzada" has any records because the previous select tool might get zero records. If there are records it must continue with the buffer tool.
Best regards,
How do the parameters look in "If Row Count is" tool?
What tool is "Select Doble Calzada"? How do the parameters look in that tool?
Also check if If Data Exists (ModelBuilder)—ArcGIS Pro works for you.
Hi Jayanta,
It's a Select tool "Select Doble Calzada" and its parameters are:
On the other hand, I tried the "If Data Exists" tool, but the problem is the select tool creates a feature class with zero records, and the "If Data Exists" tool evaluates if there is a feature class but not if it has any records.
Best regards,
you have to get the row count then the branching tool checks the result
It doesn't work either 😕 The get count tool derives an integer, in this case is zero, but the "If Row Count Is" tool is expecting a "table view", it takes the row count value as a condition.
Will there be another easier way to do this?