When i run this code (in arcView 10.3) in order to check the data frame extent, i received "NaN NaN" result with the exact data frame. I don't understand why python print this out? I checked in http://desktop.arcgis.com/en/desktop/latest/analyze/arcpy-mapping/dataframe-class.htm but didn't find any answer.
import arcpy mxd = arcpy.mapping.MapDocument(r"D:\desktop\Project\project.mxd") df = arcpy.mapping.ListDataFrames(mxd,'*') print df.name print df.extent mxd.save() del mxd
The result is:
>>> Layers 126169.249888028 611217.599085453 149776.35592577 627939.29919552 NaN NaN NaN NaN >>>