How to assign ".style"  in  arcpy.mapping to a layer

2955
2
Jump to solution
08-21-2014 06:51 AM
NaimeCelik
Occasional Contributor

Hello,

 

We are using .style file in symbology of points and I would like to automate this process in python but I cannot find any example how to assign .style file with arcpy. Only thing I could  find close to what I am looking for is   ApplySymbologyFromLayer_management but  I think it uses .lyr  extensions to obtain the symbols.

 

I would greatly appreciate if anyone could give me an idea

 

Thank you so much  

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
NaimeCelik
Occasional Contributor

Hi to all,

In case, if someone have similar problem, I would like to let how I solved the problem related to the problem above. Unfortunately I could not find any solution on how to extract style directly in arcpy. But if you create a layer with your style file and use that layer with apply ApplySymbologyFromLayer_management, that will work too..

View solution in original post

0 Kudos
2 Replies
RiyasDeen
Occasional Contributor III

Hi Naime,

Is this what you are looking for ArcGIS Help 10.1‌ ?

0 Kudos
NaimeCelik
Occasional Contributor

Hi to all,

In case, if someone have similar problem, I would like to let how I solved the problem related to the problem above. Unfortunately I could not find any solution on how to extract style directly in arcpy. But if you create a layer with your style file and use that layer with apply ApplySymbologyFromLayer_management, that will work too..

0 Kudos