I want to use modelbuilder to apply symbology from layer file. I use "Apply Symbology From Layer" with one feature layer and one symbology layer as input.
In my map I often have many features with the same name, and therefore I want to loop through all the features and apply the same symbology, see attached picture.
The different input features are store in each separate geodatabase
But I can't figure out how to make this loop input function. Any tips?
EDIT 1: As response to first answer (new pictures):
To the left: TableOfContents (symbology). To the right:Run log
(The forth loop deletes symbology established in third loop.)
EDIT 2: I tried to make a loop for each lyr-file, but it seems that I am only allowed to only add one iterator. Any tips how I can loop through the map, and link each layer in TOC to its corresponding lyr-file? Now I use "KpSamferdselPunkt" as wildcard in "Iterate Layers" to find the right layer in the first loop.
My idea was to make an iterator to each layer-type, see fig. below: