I have a desirable requirement to be able to set the active view (Layout, Map, Basemap, etc) in an ArcGIS Pro project using ArcPy.
However the ArcGISProject class does not seem to provide a method to do this.
I would like to be able to make sure that a particular Layout in my ArcGIS Pro project is the view that a copy of my project (made using the saveACopy method) opens to when I give it to someone.
Is it possible to do this by any other means from ArcPy?
If I were using ArcPy with ArcMap the equivalent would be accessible in the activeView
property of the MapDocument
class.
project
(ormap
orlayout
) would be the places I'd expect to see it, but can't find it in any of those.