AutoCAD 2010/2011/2012

Reply
Distinguished Contributor
imadhabash
Posts: 137
Registered: ‎08-06-2008
Message 1 of 7 (2,524 Views)

Changing Mtext color globally ?

2524 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,669
Registered: ‎04-26-2005
Message 2 of 7 (2,524 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 (2,524 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 (2,524 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: 170
Registered: ‎03-16-2012
Message 5 of 7 (1,373 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,280
Registered: ‎04-22-2013
Message 6 of 7 (1,368 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: 170
Registered: ‎03-16-2012
Message 7 of 7 (1,364 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:

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community




Connect with AutoCAD

Twitter

Facebook

Blogs

Pinterest

Youtube