I have this script
...which works great if I'm just dumping out a single map without much criteria. I've been asked to create a PDF document with multiple pages. Each with a map corresponding to one of the bookmarks within a .mxd file. I understand
was added in ArcGIS 10.1. I'm thinking that may hold some promise... I've not found too much info on this in my searches... There are more layers than just the ones needed in this .mxd, so I'd need to be able to specify which layers should apply to each bookmark (they'd all be the same for each, so hard coding would work too).
TIA
Code:
import arcpy
mxd = arcpy.mapping.MapDocument("I:\GIS_Workspace\MAP\Test.mxd")
mainDF = arcpy.mapping.ListDataFrames(mxd, "Layers") [0]
arcpy.RefreshActiveView();arcpy.RefreshTOC()
arcpy.mapping.ExportToPDF (mxd,"I:\GIS_Workspace\PDF\MAP.pdf")]
Code:
arcpy.mapping.ListDataFrames(mxd, "Layers") [0]
TIA