Show Navigation | Hide Navigation
You are here:
Geoprocessing > Automating your work with scripts > Scripting object: Properties and Methods > Properties and Methods

Usage method

Release 9.3
Last modified January 19, 2010
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "Properties and Methods"


Related Topics

Note: This topic was updated for 9.3.1.

Returns the syntax for the specified tool. Displays the same as the IntelliSense at the command line.

Syntax


object.Usage(method As String) As String

Part Description
object The instantiated geoprocessing object
method The tool for which the syntax will be displayed


Examples



import arcgisscripting
gp = arcgisscripting.create(9.3)

#Returns: 
#  Usage: clip_analysis <in_features> <clip_features> <out_feature_class> {cluster_tolerance}
#
print gp.usage("clip_analysis")





Please visit the Feedback page to comment or give suggestions on ArcGIS Desktop Help.
Copyright © Environmental Systems Research Institute, Inc.