Macro to toggle model colors to parts in drawing views...what am i missing here?

All

I am attempting to write another macro that will apply the model colors to the parts in a drawing view. This toggle setting is located under: tools, options, document properties, detailing,: Use Model Color For HLR/HLV in Drawings.

I attempted to write this macro based on an earlier (and successful) attempt at "Single CMD Per Pic" macro that also toggles.

What i found strange is that the macro for "model colors to drawing views" will run but does not work.. nor does it stop for me to try & de-bug it..

Can someone clue me in as to what I am missing here?

I have attached both macro files for your review

Thank you for your time and assistance, greatly appreciated.

SolidworksApi macros