Arcpy基础方法之Tools&Toolboxes
rnrnrnc:\python >>>import arcpy rn>>>arcpy.ImportToolbox(“c:/PCovertL.tbx”) rnrnrnc:\pyth
rnrnrnc:\python >>>import arcpy rn>>>arcpy.ImportToolbox(“c:/PCovertL.tbx”) rnrnrnc:\pyth
1.引入自定义的工具箱rnrnc:\pythonnn>>>import arcpyn>>>arcpy.ImportToolbox(“c:/PCovertL.tbx”)2.List工具箱中访问工具的方法rn1)列出所有工具箱,查看别名rnc:\pythonnn>>>import arcpynn>>> toolboxList=arcpy.ListToolboxes()n>>> for toolbox