I'm working on a python add-in which includes a .LYR file with specific symbology. I use ApplySymbologyFromLayer_management to load a shapefile with this .LYR symbology in the ArcMap TOC. This works perfectly on my own testing PC with ArcGIS 10.2. But when I ask a test user to try the add-in on ArcGIS 10.1 the following error is returned:
ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000968: The symbol layer does not match the input layer
Failed to execute (ApplySymbologyFromLayer).
I can't easily debug this problem on the test user system and therefore, as a first step, I would like to find out if a .LYR file made in 10.2 should be backwards compatible with 10.1?
Thanks in advance!
Quote:
ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000968: The symbol layer does not match the input layer
Failed to execute (ApplySymbologyFromLayer).
Thanks in advance!