a guest Jun 19th, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- print mapDoc
- mxd = arcpy.mapping.MapDocument(path_copy + mapDoc)
- for df in arcpy.mapping.ListDataFrames(mxd):
- for lyr_o in arcpy.mapping.ListLayers(mxd,"",df):
- for lyr_u in arcpy.mapping.ListLayers(updatedMxd,""):
- if lyr_o.name == lyr_u.name:
- pdf_name = mapDoc[:-4] + ".pdf"
- print pdf_name
- del mxd
RAW Paste Data