Is there a way to change from layout view to data view using Python and ArcMap 10?
I would prefer to do it using ArcPy.
mxd = arcpy.mapping.MapDocument('CURRENT')
mxd.activeView = "my_data_frame_name"
To go the other way is as easy as:
arcpy.mapping.MapDocument("current").activeView = "PAGE_LAYOUT"
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
4 years ago
15 days ago