I am trying to automatically apply symbology to my polygons based on a .lyr file by using "apply symbology from layer" on a .shp file. It seems to work if the generated .shp file from the module is manually selected (blue bubble) but not the very same .shp file produced from the module within modelbuilder. See image below for clarification.

enter image description here

  • 3
    You probably need a "Make Feature Layer" after "Feature Class to Feature Class"
    – BERA
    Dec 7 '18 at 13:15

As @BERA suggests in the comments, the input you're passing to Apply Symbology from Layer is incorrect. You can only style a layer. You cannot style a feature class. That is, the tool only works against layers. In your example the output of FC to FC is a feature class, as such this isn't valid input to the Symbology tool. Your working example "works" because you're almost certainly have referenced a layer in your Table of Contents as input, thus a layer.

To make it work, you can use the Make Feature Layer tool after FC to FC and use the output from that tool as input to the Symoblogy tool.

Alternatively, within ModelBuilder you can right click the output of FC to FC and select properties. The 3rd tab: Layer Symbology can be used to reference a .lyr file. Thus, you don't need the Symbology tool.

  • 1
    To compliment this answer this is why you need to be looking at the Syntax section of the help file. This is what the Data Type column is telling you, it's input is a Feature LAYER not a FeatureClass. So if you find tools won't connect, go to the Help file and review these important sections.
    – Hornbydd
    Dec 7 '18 at 16:17
  • 1
    That's a great point. However I'd go further and suggest to read the entire help topic for unfamiliar tools :) As this tool inside ArcGIS Pro will actually accept a feature class (despite the fact the input type is layer). See 4th bullet point. But that's specific to Pro.... not in ArcMap.
    – KHibma
    Dec 7 '18 at 16:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.