Layer files in ModelBuilder

3151
1
09-08-2011 08:38 AM
GregStudwell
New Contributor II
I'm trying to use ModelBuilder to move shapefiles into a file Geodatabase using iteration (searching through folders and subfolders) and Feature Class to GDB. I want to add the data to the map but use a layer file to symbolize the data. It appears that I need to apply the layer file to the output (last bubble in attached graphic) but when I try the layer file browse option is grayed out.

It runs all the other processes just fine adding the data to the table of contents. Any ideas on what I might be missing?
0 Kudos
1 Reply
ShitijMehta
Esri Regular Contributor
Feature Class To Geodatabase tool output in ModelBuilder does not have the option to import the Layer Symbology as the output of the tool is a workspace or a feature dataset. The option to import the symbology that you see is under the data type tab to be used with the feature set data type.

If you want to add the layer symbology, you can create another model with just the Iterate Feature Class Iterator and define the layer symbology to the output of the iterator.  For the input to the iterator use the geodatabase that you used to output your shapefiles.
0 Kudos