Select to view content in your preferred language

Iteration with list of geodatabase names

2112
1
02-09-2016 07:55 AM
MostafaAtir1
New Contributor

Hi,

I have many geodatabase with same schema and located in the same workspace. I need to copy each Feature Class from each dataset of each geodatabse into another empty one with same schema too, in order to create a seamless GDB. With Model Builder I need to use "Append (Data Management -> General)" .

How to build a model that can stock all these geodatabase names into an input variable  ?

Thanks,

Mostafa

0 Kudos
1 Reply
DarrenWiens2
MVP Honored Contributor

I would guess you need a Workspaces Iterator and Feature Classes Iterator (in a submodel), all collected with Collect Values.

If you're interested in a Python solution, it can be done in about 5 lines.