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)
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.