mxd = arcpy.mapping.MapDocument(r"pathtomxd.mxd") print datetime.datetime.now() for df in arcpy.mapping.ListDataFrames(mxd, "Street View"): print datetime.datetime.now()
import arcpy, time now = time.localtime(time.time()) mxd = arcpy.mapping.MapDocument(r"C:\TaxMapPages_DDP.mxd") print time.asctime(now) ddp = mxd.dataDrivenPages print time.asctime(now)
mxd = arcpy.mapping.MapDocument(r"pathtomxd.mxd") print datetime.datetime.now() ddp = mxd.dataDrivenPages print datetime.datetime.now()
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.