How to remove unwanted formatting from AutoCAD Text with StripMtext Lisp.

Are you are having trouble editing Mtext in an AutoCAD drawing? is additional formatting causing the problem?

I came upon a problem today with Autocad that I had not come across before. Whilst working on a colleagues drawing I discovered that he had over written the Font inside some MTEXT so that It was no longer controlled by the text style.

Not only was this really annoying, but I knew that I was way to retentive to leave it so I set about finding a solution.

It didn’t take long to dig up this post by ‘Hedgehog’ on Changing Mtext Font style at the CAD Tutor Forums.

Hedgehog posted up a lisp routine called ‘StripMtext’ by  Steve Doman and John Uhden that strips out errant formatting from MTEXT and Dimension text. It worked great and was exactly what I needed.

I was going to put a ‘How to’ together, but a quick web search lead me to this demo by CAD Tutor regular Lee Mac which says it all really!

You can download StripMtext Lisp from Steve and John’s ‘Cadabyss’ Blog.

Thanks Steve and John.

AutoCAD How to strip styles from Mtext

 

13 Responses to “How to remove unwanted formatting from AutoCAD Text with StripMtext Lisp.