只需一步,快速开始
请问下面的程序在运行时系统总是提示“函数被取消”,好象问题出在最后一句,我是新手,拜托一定指教指教。谢谢!
(command "circle" "5,5" "2")(command "line" "1,5" "10,5")(setq el (entlast))(setq pt '(5 7))(command "trim" el "" pt "")
使用道具 举报
放在一起加载吧
(defun c:aa()(setvar "cmdecho" 0)(command "circle" "5,5" "2")(command "line" "1,5" "10,5" "")(setq el (entlast))(setq pt '(5 7))(command "trim" el "" pt ""))
加载后运行aa
您需要 登录 才可以下载或查看,没有账号?注册
yxp:我试了,通过了。但为什么一定要在前面加几句
加哪几句? (setvar "cmdecho" 0)吗?那句不加也行,只是为了不显示CAD命令的运行返回提示。
本版积分规则 发表回复 回帖后跳转到最后一页
小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 ) ©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途
GMT+8, 2025-8-9 06:01 , Processed in 0.173511 second(s), 27 queries , Gzip On.
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.