Is it possible to activate a map frame with arcpy?
@JeffBarrette @JeffMoulds
@MK13 there is not a way to activate a map frame from arcpy.mp and we don't have plans to provide that capability but I would like to hear more about your scenario. We have a few exceptions (e.g., opening and closing views) but try to provide functions that can work with scripts in the application and stand alone scripts outside the application. Activating a map frame would only work in the application. The .NET SDK provides finer grained capabilities to perform operations like this and its main focus with Add-ins is to work within the contest of the application.
Jeff - Layout and arcpy.mp teams
Coming from the pro sdk I had imagined that I would have to activate the map frame before adding data to it but I guess I don't have to if I can utilise map.addLayer or addDataFromPath.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.