Batch import EMF logos into a Style

737
1
04-02-2019 12:38 PM
by Anonymous User
Not applicable

Is there any way to quickly batch add emf images into an arcpro stylesheet as opposed to adding each image one by one? I have a folder of a few hundred EMF images i would like to add to a style sheet. 

Possible with python?

I found this add-on for ArcMap but it is not functional in Pro.

https://www.arcgis.com/home/item.html?id=618b1998b0dd4ab4b43dc5700dd327a2

0 Kudos
1 Reply
Oto_
by
New Contributor II

As style and stylex files are actually MS Access mdb database you could add EMF and PNG/BMP markers directly to style using some tools for example:

Standalone:

https://www.codeproject.com/Articles/16851/Uploading-and-Downloading-BLOBs-to-Microsoft-Acces

or

http://resources.esri.com/help/9.3/arcgisengine/com_cpp/samples/com/Cartography/Styles/Make_Style/a9...

For symbols that are based on other files like BMP or EMF graphics files, you should
place those files in a directory called 'references' immediately beneath the .MDB
file that contains your symbol's and element's parameters.  The filename that you'll
use in the database's FN field will just be the name of that file as it appears in the references directory, i.e, 'swamp.bmp', 
the StyleBuilder will figure out therest of the path.

QGIS plugin:

SLYR: the ESRI to QGIS Compatibility Suite – North Road 

0 Kudos