Changing Distance Display from Feet & Inches to Inches

I used to have a macro for changing the Distance Display from Feet & Inches to Inches and back but it doesn’t seem to be working:

@ Clement gave it to me:

! _-DocumentProperties _Units _DistanceDisplay=_Fractional _EnterEnd

and this on a right button command to get to feet & inches:

`! _-DocumentProperties _Units _DistanceDisplay=_FeetInches _DisplayPrecision=3 _EnterEnd

Any ideas for how to make it work?

Hi @cosmas

The top macro is working fine for me in Rhino V7 the lower macro has a typo.

The `character can be removed then the macro will work.

If you press f2 after running your macro then you can see where it fails, in the case above rhino reported…
Command: _Paste
Command: ! Unknown command: !

Edit why is discourse not showing the ` symbol in the above macro snippet, I see it here when I edit this post?
This shows you where the command went wrong and I removed that small character.
RM

Thank you @3dsynergy!