Arcpy的进度显示
发布时间
阅读量:
阅读量
import sys
reload(sys)
sys.setdefaultencoding('utf-8')
import arcpy
from arcpy import env
# Allow overwriting of output
#
env.overwriteOutput = 1
# Set current workspace
#
inPath = arcpy.GetParameterAsText(0)
env.workspace = inPath
# Get a list of shapefiles in folder
#
fcs = arcpy.ListFeatureClasses()
# Find the total count of shapefiles in list
#
fcCount = len(fcs)
# Set the progressor
#
arcpy.Set
全部评论 (0)
还没有任何评论哟~
