AnsweredAssumed Answered

auto sequential numbers with python

Question asked by robb_hodges on Apr 20, 2010
Latest reply on May 26, 2015 by rfairhur24
Does anyone know how to automatically sequentially calculate numbers in an ID field with python? i.e.,I have all the manholes in my system numbered sequentially. Say the last number is 17000. So I draw in 30 new manholes. I want to automatically number them using the field calculator, starting with the number 17001. So it would be 17001, 17002, 17003....all the way to 17030. I had a VBA calculation in 9.3 to do this, but it does not work in version 10. I assume I have to use python. Can anyone help?

Thanks,
Robb

Outcomes