Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
Active Member
Michaeltrach
Posts: 8
Registered: ‎07-21-2008
Message 1 of 5 (194 Views)

Mleader txt color by layer

194 Views, 4 Replies
09-03-2008 12:47 PM
I want to change the mtext of all mleaders to be color by layer. strip mtext does not seem to do this. Nor does anything else i have found. Any ideas?
Distinguished Contributor
BMcAnney
Posts: 406
Registered: ‎12-09-2003
Message 2 of 5 (194 Views)

Re: Mleader txt color by layer

09-03-2008 01:53 PM in reply to: Michaeltrach
Hi Michael,

Try the attached file. It uses the working function from StripMtext, but I made it work with MLeaders.

Brent McAnney
Active Member
Michaeltrach
Posts: 8
Registered: ‎07-21-2008
Message 3 of 5 (194 Views)

Re: Mleader txt color by layer

09-04-2008 07:35 AM in reply to: Michaeltrach
It doesn't seem to work. Attached is a test file. Maybe i am doing something wrong. But i ran that script you provided and it didn't seem to do anything
Distinguished Contributor
BMcAnney
Posts: 406
Registered: ‎12-09-2003
Message 4 of 5 (194 Views)

Re: Mleader txt color by layer

09-04-2008 10:21 AM in reply to: Michaeltrach
Sorry, I'm not sure what is causing your MLeader text to be yellow, rather than bylayer. It's not in the text string (DXF code 304). DXF code 93 is supposedly related to text color, but it doesn't appear to do anything.

Brent McAnney
Active Member
Michaeltrach
Posts: 8
Registered: ‎07-21-2008
Message 5 of 5 (194 Views)

Re: Mleader txt color by layer

09-09-2008 08:45 AM in reply to: Michaeltrach
Still no idea, anyone else?
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.