GetReturnCode 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.
Gets the severity code (0, 1, 2) specified (by index) from the returned list of messages, warnings, or errors
| Part | Description |
| object | The instantiated geoprocessing object |
| index | The position of the desired severity code from the list of returned messages |
import arcgisscripting
gp = arcgisscripting.create(9.3)
gp.Workspace = "H:/Forestry/forestry.mdb"
gp.Erase_arc("housing", "income", "low_income")
# Return the return code of the message in index position 3 (4th message)
#
print gp.GetReturnCode(3)