We have an old python script that zooms to the extent of the layers selected in the dataframe. We are trying to update it for Pro and was hoping someone could point us in the right direction.
import arcpy
MXD=arcpy.mapping.MapDocument('current')
dataframe = arcpy.mapping.ListDataFrames(MXD, "Layers")[0]
dataframe.zoomToSelectedFeatures()
arcpy.RefreshActiveView()