arcpy生成布局元素列表
import arcpy from arcpy import mapping mxdpath=r"C:\Users\h\Desktop\fp.mxd" import arcpy.mapping as mapping mxd = mapping.MapDocument(mxdpath) for el in mapping.ListLayoutElements(mxd): if el.name != "": print el.name
转载自:https://blog.csdn.net/A873054267/article/details/85871654