HiYou might try importing sys and testing sys.executable, in process that is ArcMap.exe (or Catalog).Regards
def printMessages(messages): '''provide a list of messages to this method''' for i in messages: print i gp.AddMessage(i)
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.