Programatically modify the font used by a marker symbols in mxd in batch

779
4
07-02-2021 10:27 AM
MaximeDemers
Occasional Contributor III

Hi,

Is there a way using arcpy (or else) to change the font of multiple marker symbols in a mxd? I got like an hundred of stacked symbols to modify... I need to modify the font used not the character of the font of each.

 

Thank you if you can help here!

 

P.S.: I dont need a complete answer, just a hint would be enough 🙂

Tags (2)
0 Kudos
4 Replies
DavidPike
MVP Frequent Contributor

A marker symbol as in from symbology?  Can you not update the symbol or apply symbology from layer file? Do you have 1000s of layers or something?

0 Kudos
MaximeDemers
Occasional Contributor III

Hi,

Yes, I got hundred of unique symbols to modify.

If not python, ArcObjects maybe?

0 Kudos
DavidPike
MVP Frequent Contributor

How would you assign the new symbols automatically without knowing what to assign first? can you elaborate more on the proposed workflow as I don;t understand at all.

0 Kudos
MaximeDemers
Occasional Contributor III

I dont want to assign a new symbol, I want to modify the font used by every symbols.

1- Loop over all layers in a mxd

2- Determine if the layer symbol is using a specific font

3- Modify that specific font for another one

4- Save the mxd

0 Kudos