Jump to content

Recommended Posts

Posted

I'm using the M-Text routine that Lee Mac so generously provided for us. I made a few additions to it to fit the style I'm using but can't seem to find how to have it create underlined text. I'm using AC 2009 here at this office. What I want to do is to create a note like this:

 

GENERAL NOTES:

 

• This is note #1

• This is note #2

• etc....

 

This works well using M-Text and building up a string with //P to separate the paragraphs but I want the first sentence to be underlined. The only way I've succeeded with this is to actually draw a line where it make the first sentence look like it's underlined. I tried to create a new text style which would have underlined text but that doesn't seem possible with AC 2009.

 

The M-Text routine I'm using looks like this:

 

(defun M-Text (pt str txtclr a)
 (entmakex (list (cons 0 "MTEXT")         
                 (cons 100 "AcDbEntity")
                 (cons 100 "AcDbMText")
                 (cons 10 pt)
                 (cons 7 "DIM")
                 (cons 71 a)
                 (cons 62 txtclr)
                 (cons 1 str))))

Posted

You may try:

(cons 1 "[color=blue]{\\L[/color]GENERAL NOTES[color=blue]}[/color]:\\PThis is note #1")

 

Regards,

Mircea

Posted
I'm using the M-Text routine that Lee Mac so generously provided for us.

 

Which program is this one? :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...