GetParameterAsText method |
|
Release 9.3
Last modified January 19, 2010 |
![]() ![]() ![]() Print all topics in : "Properties and Methods" |
Note:
This topic was updated for 9.3.1.
Selects the specified parameter, by its index position, from the list of parameters. This method returns a string. To use the parameter as an object, see GetParameter.
Learn more about script tools.
Part | Description |
object | The instantiated geoprocessing object |
index | Numeric position of the desired parameter from the list of selected parameters |
import arcgisscripting gp = arcgisscripting.create(9.3) # Get the list of feature classes to be copied to the output workspace. # in_feature_classes = gp.GetParameterAsText(0) # Get the output workspace. # out_folder = gp.GetParameterAsText(1)