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" arcpy.RefreshActiveView()
To go the other way is as easy as:
arcpy.mapping.MapDocument("current").activeView = "PAGE_LAYOUT"