AnsweredAssumed Answered

ArcGIS Pro Spatial Reference

Question asked by rogerloweth on Feb 9, 2016
Latest reply on Feb 9, 2016 by rogerloweth

I can't figure out how to get the equivalent of this arcpy.mapping code into arcpy.mp

 

# Set the CRS values based on the current data frame CRS

 

    # get the map document

 

    mxd = arcpy.mapping.MapDocument("CURRENT")

    # get the data frame

 

    df = arcpy.mapping.ListDataFrames(mxd)[0]

    sr = df.spatialReference

 

Can anyone help please?

Outcomes