Timeline for Select Layer By Attribute using loop
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 23, 2012 at 16:07 | comment | added | Chad Cooper |
You could also use GetCount_management to get the true feature count, then use that for the range.
|
|
Feb 23, 2012 at 15:03 | comment | added | R.K. | @Aragon N I think your index would cause an overflow. There are only has 273 features. OIDs begin at 0 if I am not mistaken. Therefore, your range should just be (0, 273) as the last feature would have an index of 272. | |
Feb 23, 2012 at 11:57 | comment | added | syd | it has a problem at the line 'obj = "OBJECTID=%s" % (a)' The problem may be the identification of OBJECTID before. What do you think about this? | |
Feb 23, 2012 at 11:12 | history | answered | urcm | CC BY-SA 3.0 |