程序出现问题还望大师再次帮忙:
把程序放到启动组中,启动cad时出现以下提示
按下快捷键(ppo)提示未知命令(ppo)
请将程序发给我。 回复 zhynt 的帖子
(defun c:puu()
(command "purge" "b" "" "n"")
(command "purge" "g" "" "n"")
(command "purge" "la" "" "n"")
(command "purge" "lt" "" "n"")
(command "purge" "ma" "" "n"")
(command "purge" "mu" "" "n"")
(command "purge" "p" "" "n"")
(command "purge" "p" "" "n"")
(command "purge" "p" "" "n"")
(command "purge" "sh" "" "n"")
(command "purge" "st" "" "n"")
(command "purge" "m" "" "n"")
(command "purge" "t" "" "n"")
(command "purge" "v" "" "n"")
(command "purge" "r" "" "n"")
(command "purge" "z" "" "n"")
(command "purge" "e" "" "n""))
谢谢你的热情帮助。我现在用手机连电脑上,慢得很! 你这个命令不是puu吗,你输入ppo当然不对啦。 刚刚看了一下,每个n后面多了一个双引号。
应该是:(defun c:puu()
(command "purge" "b" "" "n")
(command "purge" "g" "" "n")
(command "purge" "la" "" "n")
(command "purge" "lt" "" "n")
(command "purge" "ma" "" "n")
(command "purge" "mu" "" "n")
(command "purge" "p" "" "n")
(command "purge" "p" "" "n")
(command "purge" "p" "" "n")
(command "purge" "sh" "" "n")
(command "purge" "st" "" "n")
(command "purge" "m" "" "n")
(command "purge" "t" "" "n")
(command "purge" "v" "" "n")
(command "purge" "r" "" "n")
(command "purge" "z" "" "n")
(command "purge" "e" "" "n"))
本帖最后由 669423907 于 2011-6-12 21:10 编辑
回复 zhynt 的帖子
程序还是有问题嘢! 本帖最后由 zhynt 于 2011-6-12 22:52 编辑
(defun c:puu()
(command "purge" "b" "" "n")
(command "purge" "g" "" "n")
(command "purge" "la" "" "n")
(command "purge" "lt" "" "n")
(command "purge" "ma" "" "n")
(command "purge" "mu" "" "n")
(command "purge" "p" "" "n")
(command "purge" "p" "" "n")
(command "purge" "p" "" "n")
(command "purge" "sh" "" "n")
(command "purge" "st" "" "n")
(command "purge" "m" "" "n")
(command "purge" "t" "" "n")
(command "purge" "v" "" "n")
(command "purge" "r" "" "n")
(command "purge" "z")
(command "purge" "e")
)
零长度几何图形和空文字对象无需确认。
回复 zhynt 的帖子
谢谢你的热情帮助,程序可以顺利运行了,只不过不能顺利结束!要按空格或esc才能结束命令。
页:
1
[2]