I am trying to access the messages that were logged throughout a script.
The above is always empty.
According to the documentation [http://resources.arcgis.com/en/help/...000007000000/]
Creates a geoprocessing informative message (Severity=0) that can be accessed with any of the GetMessages functions.
What am I missing here?
I'm starting to think this is either a bug or something not documented.
Code:
arcpy.AddMessage("Something...")
message = arcpy.GetMessages()
print message # always emptyAccording to the documentation [http://resources.arcgis.com/en/help/...000007000000/]
Quote:
Creates a geoprocessing informative message (Severity=0) that can be accessed with any of the GetMessages functions.
I'm starting to think this is either a bug or something not documented.