Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
How can I add a field, calculate the area in it then export the maps as an excel sheet using the ModelBuilder for all the data stored in the geodatabase file?
You need to connect "Feature Class" to "Add Field" as the input feature class. Then make sure that your initial "Workspace or Feature Dataset" has a valid default value. Then see if the model will validate. You should also include the "Name" variable as part of the output Excel document in the "Table to Excel" tool (eg, as C:/some/folder/location/%Name%.xls) to make sure that you're not overwriting the same Excel document for every iteration.
C:/some/folder/location/%Name%.xls) to make sure that you're not overwriting the same Excel document for every iteration.