只需一步,快速开始
代码如下,请问是什么意思.不影响总体运行效果,但显示出错.
(setq filename (strcat (getvar "dwgname") ".plp")) (cc "plp" filename) (setvar "blipmode" sblip) (setvar "cmdecho" scmde)
您需要 登录 才可以下载或查看,没有账号?注册
使用道具 举报
不好意思,前面是:
(defun C:WK () (setq sblip (getvar "blipmode")) (setq scmde (getvar "cmdecho")) (setq sattdia (getvar "attdia")) (setvar "attdia" 0) (setvar "blipmode" 0) (setvar "cmdecho" 0)
.......
.....
(setq filename (strcat (getvar "dwgname") ".plp")) (cc "plp" filename) (setvar "blipmode" sblip) (setvar "cmdecho" scmde) (command "layer" "s" 1 "") (prin1)
cc.lsp为
(defun cc(s d) (setq fr (open s "r")) (setq fw (open d "w")) (setq a (read-line fr)) (while (/= a nil) (write-line a fw) (setq a (read-line fr)) ) (close fr) (close fw))
本版积分规则 发表回复 回帖后跳转到最后一页
小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 ) ©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途
GMT+8, 2024-11-6 07:13 , Processed in 0.222437 second(s), 26 queries , Gzip On.
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.