2

is there a way to reset the numbering in an attribute table in ARC 10.4? as in if features are deleted can the numbers be reordered in the new sequence left after deleting selections?

7
  • geodatabase? or shapefile?
    – Mapperz
    Mar 15 '16 at 16:56
  • 3
    Exporting to a another feature class will renumber the Objectid column.
    – klewis
    Mar 15 '16 at 17:01
  • can't you just add a new column with FID?
    – RutgerH
    Mar 15 '16 at 17:47
  • It is a shapefile and thank you for the suggestions Mar 15 '16 at 17:52
  • Please expand on your answer. As it stands, it doesn't really answer the question.
    – MaryBeth
    Mar 15 '16 at 18:34
3

Assuming you aren't trying to re-order the object id, you could just run this python script inside the field calculator:

#Pre-Logic Script Code:
rec=0
def autoIncrment()
  global rec
  pStart = 1
  pInterval = 1
  if (rec == 0):
    rec = pStart
  else:
    rec += pInterval
  return rec

#your field =
autoIncrement()

This will populate the field with new sequential numbering.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.