找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 777|回复: 9

[求助]:哪位能把晓东Autofont.zip贴上来

[复制链接]
发表于 2004-7-14 14:16:09 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
哪位能把晓东Autofont.zip贴上来   
由于本人下载不下来,请能够下载的兄弟姐妹们帮忙给做成附件贴上来。或者发到邮箱来
Yanhm_Zhengy@hotmail.com
在此表示衷心的谢意。
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
发表于 2004-7-14 18:11:56 | 显示全部楼层
是字体吗
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2004-7-14 20:22:10 | 显示全部楼层
是一个匹配字体的东西,晓东,首页可以下载我就是下不下来
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复 支持 反对

使用道具 举报

发表于 2004-7-24 10:17:06 | 显示全部楼层
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复 支持 反对

使用道具 举报

发表于 2004-7-27 09:44:39 | 显示全部楼层
http://ourworld.compuserve.com/home...CK/Software.htm 下载的提示我只能用十次
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复 支持 反对

使用道具 举报

发表于 2004-7-27 22:04:36 | 显示全部楼层
用unlsp解密后可以接触限制!
干脆给你贴上得了!

  1. (setq cm (getvar "cmdecho"))
  2. (setvar "cmdecho" 0)
  3. ;;;(while (= nil (findfile "acad.fnt"))
  4. ;;;  (setq fp (open "acad.fnt" "w"))
  5. ;;;  (princ "3" fp)
  6. ;;;  (close fp)
  7. ;;;  (command "sh" "attrib acad.fnt +h")
  8. ;;;)
  9. ;;;(setq fp (open "acad.fnt" "r"))
  10. ;;;(setq count (read (read-line fp)))
  11. ;;;(close fp)
  12. ;;;(command "sh" "attrib acad.fnt +h")
  13. ;;;(if (or        (= count 3)
  14. ;;;        (= count 9)
  15. ;;;        (= count 27)
  16. ;;;        (= count 81)
  17. ;;;        (= count 243)
  18. ;;;        (= count 729)
  19. ;;;        (= count 2187)
  20. ;;;        (= count 6561)
  21. ;;;        (= count 19683)
  22. ;;;        (= count 59049)
  23. ;;;        (= count 177147)
  24. ;;;        (= count 531441)
  25. ;;;    )
  26. ;;;  (progn
  27. ;;;    (if        (= count 3)
  28. ;;;      (setq alc "1 time.")
  29. ;;;    )
  30. ;;;    (if        (= count 9)
  31. ;;;      (setq alc "2 times.")
  32. ;;;    )
  33. ;;;    (if        (= count 81)
  34. ;;;      (setq alc "3 times.")
  35. ;;;    )
  36. ;;;    (if        (= count 243)
  37. ;;;      (setq alc "4 times.")
  38. ;;;    )
  39. ;;;    (if        (= count 729)
  40. ;;;      (setq alc "5 times.")
  41. ;;;    )
  42. ;;;    (if        (= count 2187)
  43. ;;;      (setq alc "6 times.")
  44. ;;;    )
  45. ;;;    (if        (= count 6561)
  46. ;;;      (setq alc "7 times.")
  47. ;;;    )
  48. ;;;    (if        (= count 19683)
  49. ;;;      (setq alc "8 times.")
  50. ;;;    )
  51. ;;;    (if        (= count 59049)
  52. ;;;      (setq alc "9 times.")
  53. ;;;    )
  54. ;;;    (if        (= count 177147)
  55. ;;;      (setq alc "10 times.")
  56. ;;;    )
  57. ;;;    (if        (= count 531441)
  58. ;;;      (setq alc
  59. ;;;             "11 (bonus) times.  After this use AUTOFONT.LSP will become inoperative."
  60. ;;;      )
  61. ;;;    )
  62. ;;;    (setq prmt (strcat "\n AUTOFONT.LSP has already been loaded "
  63. ;;;                       alc
  64. ;;;                       " \n"
  65. ;;;               )
  66. ;;;    )
  67. ;;;  )
  68. ;;;  (setq        prmt
  69. ;;;         (strcat
  70. ;;;           "\n ** LSP program has already been loaded 10 times and is become inoperative ** ;\n"
  71. ;;;         )
  72. ;;;  )
  73. ;;;)
  74. ;;;(textpage)
  75. ;;;(princ
  76. ;;;  (strcat
  77. ;;;    "\n This program may be loaded 10 times afterwhich it will become non-functioning. \n"
  78. ;;;    prmt
  79. ;;;    "\n If you find the AUTOFONT.LSP routine useful send US$20 to the following address \n to receive an unlimited disk copy: \n"
  80. ;;;    "\n Peter Landeck 606 West 49th Terrace, KC MO 64112. \n"
  81. ;;;    "\n Other LSP routines may be found at:\n [url]http://ourworld.compuserve.com/homepages/PLANDECK[/url] \n"
  82. ;;;    "\n Touch return key to continue. \n")
  83. ;;;)
  84. ;;;(getint)
  85. ;;;(graphscr)
  86. ;;;(setq fp (open "acad.fnt" "r"))
  87. ;;;(setq count (read (read-line fp)))
  88. ;;;(close fp)
  89. ;;;
  90. ;;;(if (or        (= count 3)
  91. ;;;        (= count 9)
  92. ;;;        (= count 27)
  93. ;;;        (= count 81)
  94. ;;;        (= count 243)
  95. ;;;        (= count 729)
  96. ;;;        (= count 2187)
  97. ;;;        (= count 6561)
  98. ;;;        (= count 19683)
  99. ;;;        (= count 59049)
  100. ;;;        (= count 177147)
  101. ;;;        (= count 531441)
  102. ;;;    )
  103. ;;;(progn
  104. ;;;    (command "sh" "attrib acad.fnt -h")
  105. ;;;    (setq fp (open "acad.fnt" "w"))
  106. ;;;    (princ (* count 3) fp)
  107. ;;;    (close fp)
  108. ;;;    (command "sh" "attrib acad.fnt +h")
  109. (defun dxf (code elist)
  110.   (cdr (assoc code elist))
  111. ) ;_ end of defun


  112. (defun tnlist (tbname / tdata tblist)
  113.   (while (setq tdata (tblnext tbname (not tdata)))
  114.     (setq tblist (append tblist (list (dxf 2 tdata))))
  115.   ) ;_ end of while
  116. ) ;_ end of defun


  117. (defun ukword (bit kwd msg def / inp)
  118.   (if (and def (/= def ""))
  119.     (setq msg (strcat "\n" msg "<" def ">: ")
  120.           bit (* 2 (fix (/ bit 2)))
  121.     ) ;_ end of setq
  122.     (if        (= " " (substr msg (strlen msg) 1))
  123.       (setq msg (strcat "\n" (substr msg 1 (1- (strlen msg))) ": "))
  124.       (setq msg (strcat "\n" msg ": "))
  125.     ) ;_ end of if
  126.   ) ;_ end of if
  127.   (initget bit kwd)
  128.   (setq inp (getkword msg))
  129.   (if inp
  130.     inp
  131.     def
  132.   ) ;_ end of if
  133. ) ;_ end of defun



  134. (defun ustr (bit msg def spflag / inp nval)
  135.   (if (and def (/= def ""))
  136.     (setq msg (strcat "\n" msg "<" def ">: ")
  137.           inp (getstring msg spflag)
  138.           inp (if (= inp "")
  139.                 def
  140.                 inp
  141.               ) ;_ end of if
  142.     ) ;_ end of setq
  143.     (progn
  144.       (if (= " " (substr msg (strlen msg) 1))
  145.         (setq
  146.           msg (strcat "\n" (substr msg 1 (1- (strlen msg))) ": ")
  147.         ) ;_ end of setq
  148.         (setq msg (strcat "\n" msg ": "))
  149.       ) ;_ end of if
  150.       (if (= bit 1)
  151.         (while (= "" (setq inp (getstring msg spflag)))
  152.           (prompt "\nInvalid string.")
  153.         ) ;_ end of while
  154.         (setq inp (getstring msg spflag))
  155.       ) ;_ end of if
  156.     ) ;_ end of progn
  157.   ) ;_ end of if
  158. ) ;_ end of defun


  159. (prompt "\nType AF to run autofont.LSP \n")
  160. (defun C:AF (/            cm           l          ll         counts        countn countp fp
  161.              test   testl  n          fnts         fntb        fntl   uk     fntf
  162.              fntc   countp
  163.             )
  164.   (setq        cm     (getvar "cmdecho")
  165.         l      (tnlist "style")
  166.         ll     (length l)
  167.         counts 0
  168.         countn 1
  169.         countp 0
  170.   ) ;_ end of setq
  171. ;;;  (setvar "cmdecho" 0)
  172.   (textscr)
  173.   (setq fp (open "$$temp$$" "w"))
  174.   (close fp)
  175.   (setq test (findfile "$$temp$$"))
  176. ;;;  (command "files" 3 test "" "")
  177.   (setq testl (strlen test))
  178.   (setq test (substr test 1 (- testl 8)))
  179.   (command "shell" "md AUTOFONT")
  180.   (while (setq n (nth counts l))
  181.     (setq counts (+ counts 1))
  182.     (setq fnts (dxf 3 (tblsearch "style" n)))
  183.     (setq fntb (dxf 4 (tblsearch "style" n)))
  184.     (if        (not (eq "txt" fnts))
  185.       (setq fntl (append fntl (list (strcase fnts))))
  186.     ) ;_ end of if
  187.     (if        (not (eq "" fntb))
  188.       (setq fntl (append fntl (list (strcase fntb))))
  189.     ) ;_ end of if
  190.   ) ;_ end of while
  191.   (foreach x fntl
  192.     (if        (not (member x fntll))
  193.       (setq fntll (append fntll (list x)))
  194.     ) ;_ end of if
  195.   ) ;_ end of foreach
  196.   (foreach x fntll
  197.     (progn
  198.       (setq uk (strcat "Include " x " file? "))
  199.       (setq uk (ukword 1 "Y N" uk "Y"))
  200.       (if (eq "Y" uk)
  201.         (progn
  202.           (if (setq fntf (findfile x))
  203.             (progn (setq fntc (strcat test "autofont\" x))
  204. ;;;                   (command "files" 5 fntf fntc "" "")
  205.                    (setq countp (+ countp 1))
  206.             ) ;_ end of progn
  207.             (prompt
  208.               (strcat
  209.                 "\n****  "
  210.                 x
  211.                 "  is not a file or is not found in ACAD path ****\n"
  212.               ) ;_ end of strcat
  213.             ) ;_ end of prompt
  214.           ) ;_ end of if
  215.         ) ;_ end of progn
  216.       ) ;_ end of if
  217.     ) ;_ end of progn
  218.   ) ;_ end of foreach
  219.   (setq dwgn (getvar "dwgname"))
  220. ;;;  (setq dwgn (strcat (getvar "dwgname") ".dwg"))
  221.   (setq dirn (strcat test "AUTOFONT\"))
  222.   (setvar "cmdecho" cm)
  223.   (prompt (strcat "\n"
  224.                   (rtos countp 5)
  225.                   " font file(s) referenced by "
  226.                   dwgn
  227.                   " collected in "
  228.                   dirn
  229.                   "\n"
  230.           ) ;_ end of strcat
  231.   ) ;_ end of prompt
  232. ;;;  (command pause)
  233. ;;;  (graphscr)
  234. ;;;  (prompt "\nFor other LSP drafting routines visit web site:")
  235. ;;;  (prompt
  236. ;;;    "\nhttp://ourworld.compuserve.com/homepages/PLANDECK  "
  237. ;;;  )
  238.   (princ)
  239. ) ;_ end of defun
  240. (setvar "cmdecho" cm)
  241. (princ)
  242. ;;;)
  243. ;;;)
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2004-7-28 14:47:17 | 显示全部楼层
有了代码,怎么才能用呢。
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复 支持 反对

使用道具 举报

发表于 2004-7-28 15:28:24 | 显示全部楼层
因为不能用,所以我也不知道怎么用!
这是我的问题:
http://www.xdcad.net/forum/showt ... 1171238#post1171238
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2004-7-28 19:11:50 | 显示全部楼层
我用你提供的lsp,试了一下,可以用,但是还是乱吗
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复 支持 反对

使用道具 举报

发表于 2007-6-6 09:43:36 | 显示全部楼层
不知道怎么用怎么办????
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|申请友链|Archiver|手机版|小黑屋|辽公网安备|晓东CAD家园 ( 辽ICP备15016793号 )

GMT+8, 2024-4-16 16:20 , Processed in 0.399483 second(s), 49 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表