Jump to content

unifying mtext font


paulmcz

Recommended Posts

I have a lot of mtexts, each created with more than one font. I need to convert them so they all have the same new font. Matchprop can’t do the trick. Assigning a new style (chm) through ‘entmod’

 

(setq e1 (entget n))

(entmod (subst

(cons 7 "chm")

(assoc 7 e1)

e1

)

 

)

 

changes only a portion of the text font (see the drawing).

Any idea of how to do this, other than manually, in ddedit (mtedit) dialog box?

 

Thanks.

mtext.dwg

Link to comment
Share on other sites

  • 1 month later...

You know what?... I tried to fix a mtext with 2 different styles but this lisp didn´t fixed it... I am sorry but doesn´t work for it... but there must be other lisp to do it... just need to find them, I guess.

 

There are a few routines around, just google Strip Mtext,

 

Here for example:

http://cadabyss.wordpress.com/

 

I use one lisp called ddchtext... It will do that and a lot more things... take a look at it... I renamed to DT... just to make it easier to load and use...

 

First select a bunch of object... then type DT.. (supposing you already loaded it) and filter your options.. and finish pressing select.

dt2.jpg

dt3.jpg

dt.zip

Link to comment
Share on other sites

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...