Is there a Macro that will hide dimension lines and extensions for any selected dimension?

Hi.

I need to triangulate around 20 dimensions per drawing and it gets awfully cluttered. I have tried turning dimension to text but that is time consuming.

Next I hide dimension lines by making dimensions outside and setting gap at 100m. This still leaves the extension lines showing.

The best option, I think would be a macro to hide the lines or auto change to text.

I recorded a macro but it was dimension specific.

Attached is a very simple example of what I am trying to acheave

Any suggestions

Thanks

SolidworksDrawings And Detailing