# 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]
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.