Every now and then I run into text that is tough to edit and impossible to change anything about the way it looks because it is forced via inline code. (Diesel???) When I try to edit it I can only select the value and do not even see the code. Any idea why this happens and more importantly, is there a way to correct other than replacing the object with new text?
Solved! Go to Solution.
Solved by cadffm. Go to Solution.
Solved by paullimapa. Go to Solution.
Since mtext supports various formatting codes and there’s no way to prevent users from implementing them you’ll encounter them
https://www.cadforum.cz/en/text-formatting-codes-in-mtext-objects-tip8640
No DIESEL.
This is MTEXT and internal formatting like Font or bold, all what you can do INSIDE MText editor (doubleclick on MTEXT to enter Mtexteditor)
You can also remove all formattings, right click -> remove overrides..
Search for StripMText
But this can force unexpected results.
Sebastian
Thanks Paullimapa and cadffm. I can't believe I never noticed the Mtexteditor mirrors what the code is doing.
FYI - In my version of acad 2023
Thanks
@Village_Idiot wrote:
.... is there a way to correct other than replacing the object with new text?
You want to find and use this free LISP to remove override formatting from MTEXT you don't like in your DWG file
https://cadsetterout.com/resources/stripmtext-lisp/
and
glad to have helped...cheers!!!
Can't find what you're looking for? Ask the community or share your knowledge.