GetSeverity method |
|
Release 9.1
Last modified August 19, 2005 |
Print all topics in : "Properties and Methods" |
Gets the severity code (0, 1, 2) of the specified (by index) error.
Part | Description |
object | The instantiated geoprocessing object |
index | Numeric position of the desired error. The severity code for the error is returned. (0=message, 1=warning, 2=error). |
from win32com.client import Dispatch gp = Dispatch("esriGeoprocessing.GpDispatch.1") gp.workspace = "H:\\Forestry\\forestry.mdb" gp.erase_arc("housing", "income", "low_income") gp.getSeverity(3)