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 Email and Password
5 years ago
1 year ago