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.
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.Sign up to join this community
mxd = arcpy.mapping.MapDocument('CURRENT') mxd.activeView = "my_data_frame_name" arcpy.RefreshActiveView()
To go the other way is as easy as:
arcpy.mapping.MapDocument("current").activeView = "PAGE_LAYOUT"