arcgis10.1如何生成MSD记录

0
分享 2014-01-15
突然发现在10.1版本的桌面中好像没有生成MSD的工具了,于是找了半天帮助发现可以这样。。。。。。。。。
import arcpy
mxd = arcpy.mapping.MapDocument(r"C:\test.mxd")
msd = r"C:\test.msd"
df = arcpy.mapping.ListDataFrames(mxd, "Layers")[0]
arcpy.mapping.ConvertToMSD(mxd, msd, df, "NORMAL", "NORMAL")
del mxd, msd

文章来源:http://blog.csdn.net/esrichinacd/article/details/9147079

0 个评论

要回复文章请先登录注册