Does anyone know how to get Green output when using AddMessage (message function) in ArcPro?
Yes, trying to display in green, so I/we do not have to use a Warning, which triggers Error and Warning in ArcPro. See below
To be green?
arcpy.AddMessage() should work
Brian Klinger There is nothing in the arcpy that enables setting the properties of methods
AddMessage—ArcGIS Pro | Documentation
Apologies, I think i'm a decade behind any of these questions now .
I couldn't see anything else to control the colour or any kind of formatting in the GP window. If you find a way please post it as i'd be interested also.
David, Thanks, Yes AddWarning in ArcDesktop is green, but in ArcPro it is in Yellow. I'd like to print Message that certain action are OK in Greem text rather than Black and White.
arcpy.AddWarning('Some message')
https://community.esri.com/thread/34862
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.