Skip to main content
Question

Automatically export PDF from ArcMap


Forum|alt.badge.img

I've got a longer workflow which downloads and processes data triggered by change in a webservice. As of now FME Server runs automatically and creates an FGDB-ouput.

Since I've also got a map series in ArcMap which I use to produce PDF-maps based on the data created by FME, I'd like to automate the whole workflow.

Is there any best practice on how I can trigger this through FME?

2 replies

david_r
Celebrity
  • June 13, 2016

You can use the ExportToPDF() function in the ArcGIS arcpy.mapping module from a shutdown script in your workspace. If you know a little Python it is pretty straight-forward.

This article is a good starting point: http://desktop.arcgis.com/fr/arcmap/10.3/analyze/arcpy-mapping/introduction-to-arcpy-mapping.htm

Here's a more detailed tutorial: http://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-mapping/getting-started-with-arcpy-mapping-tutorial.htm

Note that you will first have to change the FME python interpreter so that it can find the arcpy libraries: https://knowledge.safe.com/articles/814/choosing-a-different-python-interpreter-installati.html


Forum|alt.badge.img
  • Author
  • June 13, 2016

Thanks, sounds pretty straightforward. I was hoping there was some kind of hidden command line for ArcMap, but Python will do.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings