# get the list of layers with mapping.ListLayers lyrlist = ["layer1", "GL1\GL2\layer2", "GL1\layer3"] # get just the layer´s names with a list comprehension lyrnames = [l.split("\\")[-1] for l in lyrlist]
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.