´Ù¸¥ºÐµéÀÌ ¾Ë°í °è½ÅÁö ¸ð¸£°ÚÀ¸´Ï
¿¹¸¦ µé¾î ½ÅÈïÀ̳ª ÆÄÀε𿣾¾
ÇÁ·¹½º ¼ÂÆ® µµ¸é ¹Þ¾Æ¼ ¿¾î º¼ °æ¿ì
±úÁø°æ¿ì°¡ Àִµ¥ ÀÏÀÏÀÌ ¹Ù²Ù±â ³Ê¹« ¹ø°Å·ÓÀÚ³ª¿ä
´ÜÃàÅ° Çѹø¸¸ Ŭ¸¯ÇÏ¸é ±úÁø ±Û º¹±¸ µÇ´Ï
¸®½À ¿Ã¸±ÅÂ´Ï °ü¸®ÀÚ´ÔÀÌ ÆÐÄ¡ ½ÃÄÑÁÖ¼¼¿ä
Àü ¿ÀÅäijµå¿¡ ¸®½À ¿Ã·Á¼ ¾²°Åµç¿ä
(defun c:TT ()
(setvar "CMDECHO" 0)
(setq d 0)
(setq e (entnext))
(while e
;(print (entget e))
(setq s (cdr (assoc 0 (entget e))))
(setq tt (cdr (assoc 7 (entget e))))
(IF (/= NIL tt)
(SETVAR "TEXTSTYLE" (cdr (assoc 7 (entget e))))
(SETVAR "FONTALT" "txt.shx")
; (SETVAR "FONTALT" "whgtxt.shx")
)
(if (= "TEXT" s)
(command "-style" (cdr (assoc 7 (entget e))) "txt.shx , whgtxt.shx" "" "" "" "N" "N" "N")
(setq d (1+ d))
)
;(terpri)
(setq e (entnext e))
)
(command "regen")
)
;(command "-style" "HSW" "txt.shx,whgtxt.shx" ""
; "" "" "" "n" "n" "n" "")