AnsweredAssumed Answered

How can the scale of a mapframe changed with arcpy?

Question asked by abdsz22 on Dec 20, 2016
Latest reply on Oct 13, 2017 by abdsz22

ArcGIS Pro 1.2

2D Map

 

If tried this code:

print(mf.camera.scale)

>> 125000.0

 

mf = myMapframe

mf.camera.type = "MAP"
mf.camera.setExtent(extent)
mf.camera.scale = 500000.0

print(mf.camera.scale)

>> 125000.0

 

so, nothing happend

Any ideas?

Thanks Tom

Outcomes