Greetings to all
Mathew Thanks for your reply. However, I can not clarify this issue. These are the tests I've done using these two lines:
import arcpy
arcpy.AddMessage ("Hello")
- Run these two lines in the ArcMap "Python" Window. Does not show the message....
- Run these two lines in the Windows command line (cmd). It works. (Appears "hello")
- Save these two lines as a script, add as a Toolbox and run the tool. I have used the ArcMap "Python" window, ArcToolbox (running the tool) and the Windows command line. In all three cases, it works. In the first case, the result appears in the output window (right of the Python window). In the second case, the result appears in the progress dialog box of the tool. In the third case shows the outcome in the command line.
But, according to the link you sent me, this function "AddMessage" should work if not used in a script "stand-alone", as in the case of the Windows command line ...
Surely I'm missing something ....
thank you in advance
Jesús de Diego