一共两行代码,也不知道错哪了,求助
(defun c:aaa()(command "-insert" "hwx" "s" "1" "r" "0")
(command "line" (getvar'lastpoint) (list 1 1 1) "")
(prin1)
)
运行不了,提示,需要点或选项关键字。
但是拆开,每一行都能在命令行单独运行。
求大佬给看看,注意测试的时候,图纸里面做个块(名字hws)
感谢e派大佬,增加pause就解决了。
(defun c:aaa ()
(command "-insert" "hwx" "s" "1" "r" "0" pause)
(command "line" (getvar 'lastpoint) (list 1 1 1) "")
(prin1)
)
(command "-insert" "hwx" "s" "1" "r" "0" (getpoint "\n块插入基点:")) 谢谢各位,万分感谢 每天学一点 一起受教了:handshake 一起受教了
页:
[1]