¼ÐÃD:
Ãö©óautolispªº°ÝÃD
[¥´¦L¥»¶]
§@ªÌ:
yenwang
®É¶¡:
2015-4-8 21:25
¼ÐÃD:
Ãö©óautolispªº°ÝÃD
¤j®a¦n
·Q½Ð°ÝÓ°ÝÃD
§ÚªºautocadÀɤº¦³¤£¤Ö½u±ø©M¶ê§Î¤è¶ô
½Ð°Ýautocad lispn«ç»ò¼g
¤~¯à³æ¯Â±N½u±øªº¨âÂI®y¼Ð¶×¥X¦¨¤å¦rÀÉ©O¡H
§Ú»Ýn¶×¥X¥Îexcel«áÄò³B²z
¦³¤F®y¼Ð¡A¥i¥H°µ©w¦ì©Mªø«×pºâ¡I
§@ªÌ:
naruto018
®É¶¡:
2017-1-25 17:21
¥i¥H¨Ï¥Î¸ê®ÆµÑ¨ú¥\¯à(«ü¥Odataextraction)
³o¥\¯à¥i¥H±N¹Ï±¸ê°T¶×¥X¨ìExcel
¿ï¾Ü½u©Î»E¦X½u
«~¶µ¿z¿ï¿ï¾Ü´X¦ó¹Ï§Î
©Ê½è¨ºùØ´N·|¥X²{§AnªºÂI®y¼Ð©M½u¬qªø«×
§@ªÌ:
lawrence168
®É¶¡:
2017-2-9 22:54
(defun c:TEXTEX()
(setq ffn (getfiled "¼g¥XÀÉ®×" "" "" 1))
(princ "\n¿ï¨ú¤å¦r...")
(setq ss (ssget))
(setq ff (open ffn "w"))
(setq i 0)
(repeat (sslength ss)
(setq ssn (ssname ss i))
(setq ssdata (entget ssn))
(setq sstyp (cdr (assoc 0 ssdata)))
(if (= sstyp "TEXT")
(progn
(setq txt (cdr (assoc 1 ssdata)))
(princ txt ff)
(princ "\n" ff)
)
)
(setq i (1+ i))
)
(close ff)
(princ (strcat "\n¼g¥XÀÉ®×: " ffn))
(prin1)
)
Åwªï¥úÁ{ ³Â»¶®a±Ú°Q½×ª©ª© (http://forum.twbts.com/)