I can't get the auto-scaling preference to work in 2013. It works in 2010 just fine. In 2013, the user preference toggle seems to be working ok, but the new drawing view is using the sheet scale, not the auto-scaling even though it's toggled. Here's the code I'm using:
UserPrefScale = swApp.GetUserPreferenceToggle(swUserPreferenceToggle_e.swAutomaticScaling3ViewDrawings)
swApp.SetUserPreferenceToggle swUserPreferenceToggle_e.swAutomaticScaling3ViewDrawings, True
Set swDraw = swApp.NewDocument(sDrTempFileName, lDrSize, 0, 0)
Set DrawView = swDraw.CreateDrawViewFromModelView3(pname, "Current Model View", 0.3, 0.2, 0)
SolidworksApi macros