spearofsolomon

Output messages from a script run within another script

Discussion created by spearofsolomon on Nov 7, 2012
Latest reply on Nov 12, 2012 by kimo
I apologize for the question, which must be redundant, but the search terms for a question like this are not very specific.

I have written several python scripts and imported them in ArcCatalog into a Toolbox.  They are all working fine.

Now I would like to call several of those tools from another script to simplify a process that is repeatable.  Using ImportToolbox I have successfully done this as well, but the output messages from the scripts that are being called are not visible - only the wrapper script's messages appear.  By "output", I mean messages that I print to the ArcCatalog tool console using gp.AddMessage.

What is the best practice for this?

Outcomes