TXTEXP CHANGING COLOR?

TXTEXP CHANGING COLOR?

Anonymous
Not applicable
3,551 Views
29 Replies
Message 1 of 30

TXTEXP CHANGING COLOR?

Anonymous
Not applicable

Everytime I txtexp a Mtext to convert texts to polylines, it changes from the original Layer 0 (color white ByLayer) to Layer 0 but Color 139. Any idea why and how to change it? I tried checking that Drawing Window Color but I couldn't find it. 

I've been changing manually but I wonder it must be possible to change it somewhere, right? 

 

thank you!

0 Likes
3,552 Views
29 Replies
Replies (29)
Message 2 of 30

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

on my side it changes the color to a color index, that is correct, even if the MTEXT had a true-color value assigned.

The color index that is assigned seems to me the one that matches the color of the MTEXT.


So if you get color index 137 as result, then I guess the MTEXT object (or the layer of that object) had color index 137 or true-color 38,76,76 (at least close to this value).

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes
Message 3 of 30

Anonymous
Not applicable

Sorry Alfred, I'm not sure if I understood what you said. Where can I check the true color index and how can I set up for converting into the same color (white, ByLayer)?

 

thank you for your response! 🙂

0 Likes
Message 4 of 30

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> Where can I check the true color index

Select the object, then you can see in the property window

  • a color name like red, blue, ...
  • a color index value (value from 1 to 255)
  • a true color value (3 values comma separated for red, blue, green like 128,240,139)

 

>> how can I set up for converting into the same color (white, ByLayer)?

You can't predefine a value "byLayer" for the converted polylines, the color they get is the color the MTEXT had (with the exception if the MTEXT had a true color value then AutoCAD converts it to a color index).

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes
Message 5 of 30

pendean
Community Legend
Community Legend
EXPLODE your MTEXT to eliminate any overrides then use TXTEXP on it.

Message 6 of 30

imadHabash
Mentor
Mentor

Hi,

if you start a new empty drawing (Ctrl+N ) , any changes with TXTEXP ? if NOT fixed ... would you attache here a CAD drawing sample showing us the mtext before and after ? 

 

 

Imad Habash

EESignature

0 Likes
Message 7 of 30

Anonymous
Not applicable

I see, but it is not the case. The mtext color name is white, it should convert to Color 7 or 0,0,0, isn't it? I'll post a picture with what is happening. Thank you!

0 Likes
Message 8 of 30

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> I see, but it is not the case

Then please upload a dwg with one text that gets a different color assigned after TXTEXP than the text had before, and a second dwg-file that shows the result of TXTEXP of the above dwg-content.
Otherwise it's an endless discussion.

 

>> I'll post a picture with what is happening

Nothing attached ... plus: a picture does not help as we can't see the state before, the state after as we can't select the object and see the AutoCAD internal properties of that text.

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes
Message 9 of 30

Anonymous
Not applicable

Here it is attached.

I've been using our company's text style but with the new drawing and "Standard" text style happens exactly the same thing so I don't think it has something to do with the text style. 

 

ps: I selected the mtext and polyline in order to see the properties.

 

0 Likes
Message 10 of 30

Anonymous
Not applicable

Sorry, I've attached the pictures for the other person that had asked for it.

Here it is both dwg. Thank you for helping me! 🙂

0 Likes
Message 11 of 30

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

can't reproduce the effect, I see that your result is set to color 139, however, when I open your Drawing1.dwg and run TXTEXP with that text, all goes to layer 0 color 7.

 

So the question is why is your version of AutoCAD work differently:

  • it maybe another version of AutoCAD, i tried with AutoCAD 2020
  • it maybe an overwritten TXTEXP command
  • it maybe a loaded app/tool/plugin working inside AutoCAD

 

When you login with a new Windows user account and try AutoCAD (without customizations) and that drawing, does the same color 139 appear for these objects?

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes
Message 12 of 30

imadHabash
Mentor
Mentor

for me ... TXTEXP works normal . !!! would you please open the attched CAD drawing and see if the same happened ?

 

 

Imad Habash

EESignature

0 Likes
Message 13 of 30

dbroad
Mentor
Mentor

Unlike the others, I can confirm the bug.  I used 2017 and 2019 versions so it must've been a long time problem.  In addition, I noticed another problem with drawings that have millimeter units.  Apparently, the txtexp drawing does an export and import (probabably wfmout and wfmin).  This is strongly dependent on the -dwgunits settings and also on how closely the text is zoomed.  If the text is relatively small on screen, the results are poor and jagged.  If the drawing is millimeters, the result is returned at 25.4 times the size of the source and off-screen.  This problems are easy to fix as long as they can be recognized but I would categorize them as nuisance problems.

Sounds like 2020 may have fixed at least the color issues.  I haven't installed that since I'm still on Windows 7.

Architect, Registered NC, VA, SC, & GA.
0 Likes
Message 14 of 30

Anonymous
Not applicable

About the scale, a colleague was able to figure that out and we did switch to inches, no problem as you said. 🙂

It is a bummer about the color, though. Thank you for confirming the bug, then sadly I'll stop trying to fix it until we update to a newer version.

0 Likes
Message 15 of 30

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> Unlike the others, I can confirm the bug.

>> I used 2017 and 2019 versions 

I can't confirm that, neither 2019 nor 2017 shows a color other than 7

 

Any chance you

  • are not running AutoCAD Vanilla, but a vertical instead?
  • you have migrated settings and so maybe paths set to older versions of ExpressTools?

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes
Message 16 of 30

RobDraw
Mentor
Mentor

In the meantime, the command SETBYLAYER is a quick fix.


Rob

Drafting is a breeze and Revit doesn't always work the way you think it should.
Message 17 of 30

Anonymous
Not applicable

Any chance you

  • are not running AutoCAD Vanilla, but a vertical instead?
  • you have migrated settings and so maybe paths set to older versions of ExpressTools?

As far as I know, nobody has changed any settings since we've installed this version. 

That's why I wonder where is this setting so I check it up, but can't find anywhere...

0 Likes
Message 18 of 30

Anonymous
Not applicable

In this case, it is actually easier to QSELECT by this Color 139 and simply change to white. Usually we have hundreds of them to convert...  Thank you all for helping!

 

0 Likes
Message 19 of 30

RobDraw
Mentor
Mentor

@Anonymous wrote:

In this case, it is actually easier to QSELECT by this Color

 


 

Have you tried SELECTSIMILAR? Depending on your right click settings it may be in contextual menu.


Rob

Drafting is a breeze and Revit doesn't always work the way you think it should.
0 Likes
Message 20 of 30

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> nobody has changed any settings since we've

>> installed this version.

Can you please start command _ABOUT and show a screenshot from that dialog?
Also have you tried the new-user-account suggestion?

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes