arcgis python 获得参数个数
import arcgisscripting
gp = arcgisscripting.create()
# Loop through any script tool parameters and print
x = 0
while x < gp.ParameterCount:
print gp.GetParameterAsText(x)
x = x + 1
gp = arcgisscripting.create()
# Loop through any script tool parameters and print
x = 0
while x < gp.ParameterCount:
print gp.GetParameterAsText(x)
x = x + 1