I've file with proper MTEXT style defined.
Every MTEXT has the same style, so there is no formatting information in the text field. This is necessary for VBA string manipulation.
In ACAD 2018, when I'm editing MTEXT and add single character a formatting string {\f,etc} appears.
In previous versions it's been like that when any of the properties has been hanged.
In 2018 it appears all the time.
Even highlighting the text and use of "Remove formatting" option doesn't work....
Did anyone experienced the problem like this?
Is there any solution instead of running "unformat script" after every single MTEXT edit?
Solved! Go to Solution.
Solved by cadffm. Go to Solution.
@k-ratajczak schrieb:
... when I'm editing MTEXT and add single character a formatting string {\f,etc} appears.
Here not so.
@k-ratajczak schrieb:Even highlighting the text and use of "Remove formatting" option doesn't work....
Here it works fine.
Which MTEXT editor do you use (system variable MTEXTED)?
Did you install the current upgrade of ACAD 2018?
Can you post a sample drawing please?
cadder
Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Sebastian
I can't even create the text without formtting...
MTEXTED is set to Internal
The product version is O.49.0.0
This is not proper solution for me.
I'd have to remove text formatting after every single edit action.
I don't want compare with such a old version (The product version is O.49.0.0, should be _VERNUM = "O.161.0.0).
Is plain AutoCAD and not part of a vertical version? (in ABOUT dialog is only one Productinfo? Ok!)
Your DWG and style looks good, please start your Acad in /safemode.
http://help.autodesk.com/view/ACD/2018/ENU/?guid=GUID-8E54B6EC-5B52-4F62-B7FC-0D4E1EDF093A
I am pretty sure you have running a third part program which causes this behavior!
If in safemode all works like you want, you can searching for the tool who set this formatting.
Sebastian
I've updated to O.161.0.0 right now.
The problem still remains.
Safemode doesn't help...
If you really create the MText by hand/GUI, I don't know. But i will search for you in this case.
Please: Try to use another Font in your Style.
And because of you don't used the acad.dwt (for your sample dwg), try it again without any dwt.
The test is short, so test it.
Command NEW, right of [Open]Button the small arrow menu -> Without template - imperial
(I don't have problems in your drawing)
Very strange (for me, if the MTexte by hand in a standalone AutoCAD).
Sebastian
When I change MTEXTED to "OldEditor" and I want to edit mtext i'm receiving error as in attachment.
Multileader doesn't produce an error, and Remove Formatting option works (in old editor). Adding any char adds formating string either.
I figured out that when I've changed the style to one that has the font different from Arial family it works OK.
Maybe this is some font family related problem.
It's not like that...
Still when I click new MTEXT and type "abc" the text content is: {\fArial|b0|i0|c238|p34;abc} .
I've done workaround in my script to remove formatting string before processing.
It's not what I expected but I have to live with it.
I've missed a detail so far, so let's try again:
What language is set to your operating system and which char set is Acad using?
Please check the char set when you create/edit MText, see my picture below
Sebastian
That's it! I'm using polish Autocad on English/French laptop. When I change charset to Western the formatting string is no more!
The only question is how to choose western charset by default?
The keyboard layout has to be set to one of western charsets ( English (United States) for example).
Can't find what you're looking for? Ask the community or share your knowledge.