PROBLEM WITH MACRO

Hi All,

i was wondering if anyone would have time to look at this macro and see what is wrong.  it is basically a macro to set the dim decimal places to zero.  funny thing is, after i run it, it shows in the option box as 'none', but the dims don't update on teh dwg, and new dims still have one decial place showing, with a "(document)" showing in the dialog box (see images).  pretty sure this use to work in 2009, 32 bit...

thanks for any help

Tom

SolidworksApi macros