arcpy限制返回地图元素

import arcpy.mapping as mappingnmxd = mapping.MapDocument(“CURRENT”)nn#仅仅返回图例nfor el in mapping.ListLayoutElements(mxd,”LEGEND_ELEMENT”,”*Crime*”):n    print el.namen#更改布局元素的属性nnimport arcpy.mapping a…