Skip to main content
added 7 characters in body
Source Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345

I know you have tagged your question as ArcMap but this can be done easily in ArcProArcGIS Pro as that provides a model builderModelBuilder iterator that loops over fields in a dataset. The model is simply:

Model

No such iterator exists in ArcMap so you would have to provide\build a list of fields that could drive the model. I would suggest in ArcMap that this is probably best done as a simple script as you have better control over looping. The arcpy function ListFields would be the scripting equivalent to the ArcProArcGIS Pro iterator.

I know you have tagged your question as ArcMap but this can be done easily in ArcPro as that provides a model builder iterator that loops over fields in a dataset. The model is simply:

Model

No such iterator exists in ArcMap so you would have to provide\build a list of fields that could drive the model. I would suggest in ArcMap that this is probably best done as a simple script as you have better control over looping. The arcpy function ListFields would be the scripting equivalent to the ArcPro iterator.

I know you have tagged your question as ArcMap but this can be done easily in ArcGIS Pro as that provides a ModelBuilder iterator that loops over fields in a dataset. The model is simply:

Model

No such iterator exists in ArcMap so you would have to provide\build a list of fields that could drive the model. I would suggest in ArcMap that this is probably best done as a simple script as you have better control over looping. The arcpy function ListFields would be the scripting equivalent to the ArcGIS Pro iterator.

Source Link
Hornbydd
  • 44.6k
  • 5
  • 42
  • 84

I know you have tagged your question as ArcMap but this can be done easily in ArcPro as that provides a model builder iterator that loops over fields in a dataset. The model is simply:

Model

No such iterator exists in ArcMap so you would have to provide\build a list of fields that could drive the model. I would suggest in ArcMap that this is probably best done as a simple script as you have better control over looping. The arcpy function ListFields would be the scripting equivalent to the ArcPro iterator.