I am using a Python script tool within an ArcToolbox in ArcGIS 10.2.
The script calls another python script tool while running but does not display the messages from the called script when using the arcpy.AddMessage() method.
scribtbox (ArcToolbox) two script tools
import arcpy # output to the screen arcpy.AddMessage("Doing routine 1...") routine1() # call script2 arcpy.script2_scriptbox
import arcpy # output to the screen arcpy.AddMessage("Doing routine 2...") routine2()
The output model run dialog box in ArcGIS says:
> Doing routine 1...
and then finishes without saying the message from script2.
I'd like it to say:
> Doing routine 1... > Doing routine 2...
and then finish.
Is this functionality not built in, am I doing something wrong, or is there some other issue at hand.