(defun c:MyMessage (/ GetMessage InsertPoint)
(setq GetMessage (getstring T "Enter Message: "))
; As an example the message is "R+ will be added on Level 2."
; How to set the 2nd character color as yellow?
(setq InsertPoint (getpoint "Insert Message"))
(entmake
(list '(0 . "MTEXT") '(100 . "AcDbEntity") '(100 . "AcDbMText") (cons 1 GetMessage) (cons 10 InsertPoint) (cons 40 25))
); end of entmake
); end of code
You need to read about DXF document in this case
QuoteYou need to read about DXF document in this case
Thanks again. But...
I have read it but don't find anything mentioning the use of {\\Cx; A}. And this function doesn't use any DXF group code.