Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to Remove Bigfont from all Text Styles?

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
Anonymous
1217 Views, 2 Replies

How to Remove Bigfont from all Text Styles?

Hi All,
I have some drawings which contains around 17 tex styles of which 10 are with Bigfont are used.
I want to remove Bigfont at once from all the text styles which are using type Bigfont.
How to do this with the help of lisp?

Thanks in advance,
Hrishikesh
2 REPLIES 2
Message 2 of 3
cadffm
in reply to: Anonymous

one possible Way

 

Look for GroupCode in Objekt of Style-Table,

GroupCode=4

Set value of GroupCode 4 to ""

 

(while (setq st (tblnext "STYLE" (not st)))
       (setq st (entget(tblobjname "STYLE" (cdr(assoc 2 st)))))
       (entmod (subst '(4 . "")(assoc 4 st) st))
)

Sebastian

EESignature

Message 3 of 3
Anonymous
in reply to: Anonymous

Thanks...

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


AutoCAD Beta