ApplySymbologyFromLayer

484
1
05-12-2012 08:51 AM
RuiPedroso
New Contributor
Dear all, I wrote this peace of code, and it doesn't work. When I open ArcMap there is no symbology active for the inputLayer. What to do?
Regards

Rui

inputLayer = "commune_zone.lyr"
symbologyLayer = "commune_zone_Layer1.lyr"
arcpy.ApplySymbologyFromLayer_management(inputLayer, symbologyLayer)
Tags (2)
0 Kudos
1 Reply
JeffBarrette
Esri Regular Contributor
It looks very similar to the sample provided in help.  Have you set your workspace environment?

Have you tried arcpy.mapping UpdateLayer?
http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/UpdateLayer/00s30000003p000000/

Jeff
0 Kudos