标签:import efi arcpy data layer name == map stl
import arcpy
mxd = arcpy.mapping.MapDocument("current")
for lyr in arcpy.mapping.ListLayers(mxd):
if arcpy.Describe(lyr).dataType==‘FeatureLayer‘:
print lyr.name
lyr.definitionQuery = "DIS=‘GM‘"
标签:import efi arcpy data layer name == map stl
原文地址:https://www.cnblogs.com/yj2010/p/10214507.html