8 Replies Latest reply on Jun 1, 2015 12:51 PM by Deepak Gupta

    Sheet scale macro doesn't rebuild in 2015

    Brian Mears

      I've used the attached macro for years. All drawing views are set to sheet scale, and this macro lets me 'dynamically' adjust the sheet scale to best fit the views on the page. With the macro dialog open I could click the up and down arrows (or type in a number) and the change would appear immediately behind the dialog.

       

      I just tried this macro in 2015 and the scale changes do not appear immediately. To see the change I have to close the dialog and rebuild the drawing.

       

      I suspect this has something to do with the UpdateSheetScale code that's called after almost every action in the dialog - maybe a change in how rebuild works in 2015, & hopefully an easy fix?  Back in the day I might have been able to figure this out but I haven't messed with code for years. Any help would be appreciated. The macro is attached.

       

      Thanks,

       

      Brain