Text color not changing

Text color not changing

Anonymous
Not applicable
28,824 Views
9 Replies
Message 1 of 10

Text color not changing

Anonymous
Not applicable

I'm not sure if this is a bug or there is a set variable to contorl this.

 

My problem is with Mtext. If I create Mtext with the color of text set as 'ByLayer', I then can select the text (not double-clicking), choose the 'Object Color' pulldown from the ribbon, move my mouse over the various colors and see the selected text color change (what I would expect with the new enhancements to 2015). Now, if I take that same text, double-click on it, highlight the text, choose a color from the pull down in the 'Text Formatting' dialogue box (say yellow for the sake of arguement - the layer color is white) and click OK.

 

Here is where I believe the bug is. 

 

Select that same text (not double-clicking) and try the same as above by trying to change the color, choose the 'Object Color', pick say green (or hover over a color) and you will notice that you can't change the color. It will say the color has changed in the properties dialogue box but the color showing on the screen is still the one you chose in the 'Text Formatting' dialogue box. Even saving the drawing, closing it and opening it back up it say one color but shows a different.

 

Has anyone else come across it? Or can reproduce it?

 

My system is Windows 7 64bit with 8 GB of RAM

i5-3470 CPU A 3.2GHz

AMD Radeon HD 7450 Graphics card

 

2015 Civil3D SP2

 

Thanks in advance.

Paul

0 Likes
Accepted solutions (1)
28,825 Views
9 Replies
Replies (9)
Message 2 of 10

Jeff_M
Consultant
Consultant
Accepted solution
This is normal, expected, behavior. By selecting the text in the Mtext editor and changing the color their, you are specifying that that text color overrides the Mtext object's color, or layer color when Bylayer. This is how you can have differently colored text within the same Mtext object.
Jeff_M, also a frequent Swamper
EESignature
Message 3 of 10

Anonymous
Not applicable

Thanks Jeff for the explanation.

 

Paul

0 Likes
Message 4 of 10

Anonymous
Not applicable

How do you fix this though.  I have numerous mtext entities that I need to change back to "by layer".

 

Message 5 of 10

Raisaac123
Participant
Participant

I just has this issue in autocad 2018 and it seems that even after going to the text editor and changing the color to bylayer, it does not work.

I had to clear the text format by clicking on "CLEAR - REMOVE CHARACTER FORMATTING" on each text... I know this is terrible... I don't know how to do this faster

Message 6 of 10

Raisaac123
Participant
Participant

I just has this issue in autocad 2018 and it seems that even after going to the text editor and changing the color to bylayer, it does not work.

I had to clear the text format by clicking on "CLEAR - REMOVE CHARACTER FORMATTING" on each text... I know this is terrible... I don't know how to do this faster

0 Likes
Message 7 of 10

raitis.grigorjevs
Community Visitor
Community Visitor
Make sure all text is selected when changing color in text editor
0 Likes
Message 8 of 10

Zlatislav.atanasov
Advocate
Advocate

@Jeff_Mexplained it perfectly,
I found out a lisp that can strip the formatting of multiple text objects at once which can be very helpful, especially if you are trying to edit the color for example of multiple texts that have this preformatting. How to Strip preformatting of multiple texts at once!


My personal blog - AutoCAD and AutoCAD Civil 3D hidden Secrets and great tips in one place -

https://skillamplifier.com/

Amplify your skills to a new level!

0 Likes
Message 9 of 10

DougDM
Participant
Participant

Can't be done as a whole that I know of.  I just exported plan files as DWG files created Chief Architect Premier x16... Converts to DWG okay (wish we had the option to dis-allow completely exploding everything during export) Anyway, back to the Mtext issue, where you can't select all Mtext as a whole and change it's color to "By Layer" or to "By Block" the normal. My solution was having to double click on each each and group of Mtext occurrences (one at a time) then "Control A" to select all text in the selection, then up in Ribbon in Formatting, select "color" to be either by layer or by block if by layer isn't available. Hit enter to complete.  Some text exported from CA as a for instance "a window size", those I was able to select all of them and change the color to BL or BB through Properties. Wish there was a better way.   Go AutoCAD, user since 1982 version 1 🙂 woohoooo!!!!

DougDM
Message 10 of 10

designN2EJF
Contributor
Contributor

OK, Its ten years later, here is my fix for this issue, it may or may not already be a thing:

 

select the mtext you want to change the color of,

right click, select similar (this will select ALL the Mtext in the drawing)

EXPLODE

select, right click select similar (this will select all of the TEXT in the drawing)

change to by layer or block, or a color

if you really need it to be MTEXT, you'll have to convert each item individually, but now it will change color in the ribbon dropdown or properties dropdown (converted or not)

0 Likes