- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello!
I am hoping someone here can help with this problem. I am trying to have some text that is stored in a variable output in a field that should be a different color from rest of the text. I have looked high and low in multilple forums but have not found the exact the solution I need. I have stubled upon the Mtext formatting codes, I have seen a few examples, but when I try to replicate it does not work for me. I don't understand how they are to be used in a LISP routine. I know how to change the color of the text the usual way, I would think there is a way to code it. Below is a screen capture of what I am hoping to accomplish, currently all the text is blue:
This is the line of code that produces the top two lines:
(setq dwg (strcat "DWG. PER CUST E-MAIL:" (chr 10) (vl-filename-base (getvar "dwgname")) ".dxf" (chr 10) "DWG#: " dwg2))
I hope I have explained this well enough to be understood.
Thank you in advance for your time and attention!
Joe
Solved! Go to Solution.