AutoCAD 2010/2011/2012

AutoCAD 2010/2011/2012

Reply
Mentor
imadhabash
Posts: 164
Registered: ‎08-06-2008
Message 1 of 7 (3,211 Views)

Changing Mtext color globally ?

3211 Views, 6 Replies
06-24-2009 03:57 AM
Hello,

i received a drawing with Mtext notes has a different color from the layer they belong...the user change the Mtext note color from the Mtext editor .

Is there a way to change the color for these Mtext notes to bylayer color globally and with one command?

Thanks alot...
Please mark this as the solution if it resolves your issue.Kudos gladly accepted. ⇘
Valued Mentor
tim.turner
Posts: 1,674
Registered: ‎04-26-2005
Message 2 of 7 (3,211 Views)

Re: Changing Mtext color globally ?

06-24-2009 05:25 AM in reply to: imadhabash
I would Qselect>Object Type=Mtext>Operator=Select All>OK then in the Properties Palette set Color to By Layer. Can't script it due to the due to the Qselect dialog box. As quick as that is I would have to do be doing it an awful lot to put in the time to create a LISP. If the text color has been changed inside the editor you will need a LISP like StripMtext: http://cadabyss.wordpress.com/2007/04/01/stripmtext-v309/
*Dean Saadallah
Message 3 of 7 (3,211 Views)

Re: Changing Mtext color globally ?

06-24-2009 05:26 AM in reply to: imadhabash
There is a free lisp routine floating around here called stripmtext, might
be what you seek. Try the search feature or Google.

--
Dean Saadallah
http://LTisACAD.blogspot.com
--
*Paul Richardson
Message 4 of 7 (3,211 Views)

Re: Changing Mtext color globally ?

06-24-2009 08:13 AM in reply to: imadhabash
Here is a quick macro... Do some testing and edit as needed!
^C^C_.chprop (ssget "X" '((0 . "MTEXT")));;C;bylayer;;

wrote in message news:6207282@discussion.autodesk.com...
Hello,

i received a drawing with Mtext notes has a different color from the layer
they belong...the user change the Mtext note color from the Mtext editor .

Is there a way to change the color for these Mtext notes to bylayer color
globally and with one command?

Thanks alot...
Distinguished Contributor
nstalker
Posts: 212
Registered: ‎03-16-2012
Message 5 of 7 (2,060 Views)

Re: Changing Mtext color globally ?

07-16-2013 08:51 AM in reply to: tim.turner

this did not work.  I have to double-click on the mtext, select the text and then change the color in the drop-down menu.

*Expert Elite*
nestly2
Posts: 1,982
Registered: ‎04-22-2013
Message 6 of 7 (2,055 Views)

Re: Changing Mtext color globally ?

07-16-2013 09:10 AM in reply to: nstalker

See post #3  (unless you're using LT)

Distinguished Contributor
nstalker
Posts: 212
Registered: ‎03-16-2012
Message 7 of 7 (2,051 Views)

Re: Changing Mtext color globally ?

07-16-2013 09:23 AM in reply to: tim.turner

I have to say that lisp routine is a lifesaver!:smileyhappy:

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.