Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Autocad 2018: remove formating doesn't work in Mtext editor

15 REPLIES 15
SOLVED
Reply
Message 1 of 16
k-ratajczak
1632 Views, 15 Replies

Autocad 2018: remove formating doesn't work in Mtext editor

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?

Tags (2)
15 REPLIES 15
Message 2 of 16
j.palmeL29YX
in reply to: k-ratajczak


@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.

EESignature

Message 3 of 16
cadffm
in reply to: k-ratajczak

Start a new file based on acad.dwt
Set up your Textstyle and set current
Create a MText with content: FORUM

Copy this MText and edit them.

In the content(properties palette) of the edited Mtext appears a format-code now?
Save the file and share it here with a short info what you edit steps was(exactly)

Sebastian

Message 4 of 16
pendean
in reply to: k-ratajczak

Try the STRIPMTEXT lisp discussed here i the other tips do not work https://knowledge.autodesk.com/support/autocad/troubleshooting/caas/sfdcarticles/sfdcarticles/Text-i...
Message 5 of 16
k-ratajczak
in reply to: cadffm

I can't even create the text without formtting...

MTEXTED is set to Internal

 The product version is O.49.0.0

Message 6 of 16
k-ratajczak
in reply to: pendean

This is not proper solution for me.

I'd have to remove text formatting after every single edit action.

Message 7 of 16
cadffm
in reply to: k-ratajczak

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

Message 8 of 16
k-ratajczak
in reply to: cadffm

I've updated to O.161.0.0 right now.

The problem still remains.

Safemode doesn't help...

Message 9 of 16
cadffm
in reply to: k-ratajczak

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

Message 10 of 16
k-ratajczak
in reply to: k-ratajczak

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.

 

 

 

Message 11 of 16
cadffm
in reply to: k-ratajczak

Error/Oldeditor, thats normal.

Sebastian

Message 12 of 16
k-ratajczak
in reply to: cadffm

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...

Message 13 of 16
cadffm
in reply to: k-ratajczak

Any News?

Sebastian

Message 14 of 16
k-ratajczak
in reply to: cadffm

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.

 

Message 15 of 16
cadffm
in reply to: k-ratajczak

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

 

20180814-3.JPG

Sebastian

Message 16 of 16
k-ratajczak
in reply to: cadffm

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.

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report