I have a map automation script that I have been using in ArcMap 10.5 with Python 2.7. I just learned the in's and out's of ArcGIS for Pro and would like to migrate my processing to Pro. It's taking a while to migrate the Python 2.7 code into something that will take in the Python 3 module of Pro, but I think for the most part, I've been able to translate my code.
With the exception of a couple of arcpy functions, so I wanted to see if anyone had any insight into how to do something. In my code, after selecting certain features, I have the code (2.7) use:
When I try to run this in Pro, it doesn't like it. It appears that "zoomToSelectedFeatures" is no longer supported in Python 3? Does anyone know a workaround to move the map automatically to the selected features in an automation script?