How to record dimension values during an animation.

Hi,

I am looking for a macro that can record the dimension values during an animation. See flash example attached.

Any help will be greatly apprecaited.

SolidworksApi macros