Hi,
I am currently using;
arcpy.AddMessage(arcpy.GetMessages())
and
arcpy.AddMessage(fc)
to tell me the features that are being processed by the geoprocessing tool in my script. Is there a way to seperate these in the geoprocessing dialog window by a line spacing because it looks cluttered?
Solved! Go to Solution.
The "Running script Clip..."is coming from arcpy.AddMessage(arcpy.GetMessages()) and not added by myself.
This is a visual of what I am trying to achieve;
as I said
arcpy.AddMessage("")
will produce a blank line
No change
Did you try...as suggested...getting rid of the
arcpy.AddMessage(arcpy.GetMessages()) line?
All that line does is get all the messages ... if you want to see where the messages should be added...post your code
Then what happens when you remove that line? and just leave the arcpy.AddMessage lines alone. Experiment until you understand the affect of both lines on the outputs.
Sorry Dan, I can't get arcpy.AddMessage("") to do anything.
I can get arcpy.AddMessage(fc) to print shapefile names, but with no space before first shapefile.
last try and then this is going into my collection...
arcpy.AddMessage("\n")
otherwise post your code
Its not going into your collection . That worked putting arcpy.AddMessage("\n") at the start of my script. Thanks for your patience Dan.