【ArcPy】 将要素类添加到当前工作窗口(内容列表)

mxd = mapping.MapDocument("CURRENT")
df = mapping.ListDataFrames(mxd)[0]
layer = mapping.Layer(outFcPath)
mapping.AddLayer(df, layer, 'Top')
arcpy.AddMessage('...work done.')

posted @ 2019-08-20 20:59  yzhyingcool  阅读(981)  评论(0编辑  收藏  举报