SVG-Export: Convert character marker symbol to polygon

841
2
03-16-2022 06:42 AM
Kai_DA
by
New Contributor II

Hey,

I am using ArcGIS Pro and arcpy to export the map view into many different SVG-Files using the exportToSVG-Method arcpy's MapView-Class offers. 

Now doing this from ArcGIS Pro itself (using the ExportMap Function) it gives me the option to Convert character marker symbols to polygon, which in my case would be quite useful. In arpcy for ArcGIS Pro this property is missing, however using arcpy with Python  2.7 this property seems to be available (link).

I am wondering if this was left out intentionally for arcpy and Python 3.7 and if there is a workaround to do this with arcpy in ArcGIS Pro?

 

Many thanks in advance!

0 Kudos
2 Replies
DanPatterson
MVP Esteemed Contributor

Is it this one in the CIM? in the layout section

exportToSVG(out_svg, {resolution}, {compress_to_svgz}, {image_quality}, {embed_fonts}, {output_as_image}, {clip_to_elements})

Alphabetical list of arcpy.mp classes—ArcGIS Pro | Documentation


... sort of retired...
0 Kudos
Kai_DA
by
New Contributor II

So far I didn't do the extra step of creating a layout since I was using the exportToSVG-Funtion directly on the mapView (so no need for a Layout at all). But this might be the workaround I've been looking for, I'll take a look at this, thank you!

0 Kudos