0

I need to update a dozen of attributes to x for all features that have a value of y in an other attribute.

Is there a way to update more than one attribute at once in field calculator?

1
  • 2
    Try modelbuilder
    – Hornbydd
    Commented May 2, 2018 at 19:50

1 Answer 1

3

The Field Calculator will only update one field at a time when run through its tool dialog.

To update multiple fields you could create a tool in ModelBuilder or ArcPy that runs the Calculate Field tool once for each field.

Alternatively, using an arcpy.da.UpdateCursor() would be the way that I would choose to do it.

1
  • To add to this, you can also right-click the Calculate Field Tool in the Toolbox and run it as a batch process. Commented May 3, 2018 at 9:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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