Setting DataFrame.scale messes up my scale bars

Discussion created by j256 on Dec 19, 2012
Latest reply on Dec 20, 2012 by jbarrette-esristaff
When I use the regular pan/zoom tools or Data Driven Pages, ArcGIS correctly updates my scale bar according to the way I set it.

But when I alter a map layout's extent using the DataFrame.scale property, perhaps preceded by DataFrame.zoomToSelectedFeatures(), my scale bar gets messed up, see the image below. The top image shows the scale bar correctly resized; the bottom image shows what happens when I alter zoom in Python via the DataFrame class.


So what gives? Is this a bug? Is there some kind of refresh procedure that I can use to ensure that my scale bar is resized properly when using Python to batch export maps? FYI, my scale bar is set to 'Adjust Division Value' when resizing...