Model to calculate various fields for each feature class in a gdb

09-04-2013 06:07 AM
New Contributor
Hello all:

I need to know how to:
Using model builder to automate,
Joining two feature class tables (Add join)
calculate fields (4 fields)
for each feature class in a gdb

The model works fine for a layer that is present in arcmap.  It does not work on other feature classes because the field name keeps hardcoded and does not change with each feature class.

add join --> fc table , fc join table.
then calculate previously added fields based on the joined table.
remove join.
Problem: field names keep "hardcoded" pointing to the original feature class name and field names.

I need to automate this process for many feature classes in a gdb.

Your help will be appreciated

Iván Santiago
San Juan, PR
0 Kudos
2 Replies
Frequent Contributor
Did you think about exporting your model to python and make necessary adjustments there?
0 Kudos
New Contributor
Thanks, I have not considered that as an option. Still don't know if it'll gonna work 😞
0 Kudos