gabrisch

Use a cursor to select each row for input into another function.

Discussion created by gabrisch on May 18, 2012
Latest reply on May 18, 2012 by bruce.nielsen
I have a python tool that uses a select by attribute to get each record of a feature class and then feed that selection into a zonal statistics function.
I thought there was a way to use a search cursor and something like row.Shape to select each row, then feed that row into another tool, thereby speeding up the code.
I can't find any example of using a cursor to select each row then use that selection as in input parameter into another function.
Help please.

Outcomes