摘要:
import arcpy import os def main(): mxd = arcpy.mapping.MapDocument('current') #获取当前打开MXD df = arcpy.mapping.ListDataFrames(mxd, "图层")[0] #获取全部图层组 lyr= arcpy.mapping.ListLayers(mxd,"",df)... 阅读全文
摘要:
count = arcpy.GetCount_management(feature) #获取要素个数 阅读全文