我自己写了个画矩形的lisp程序但是在cad中总是加载不了 提示命令错误,大家帮我看一下这个程序有什么问题啊,谢谢 (defun c:kj(/ qd pa pb pc fl yx) (setvar "cmdecho" 0) (setvar "blipmode"0) (setq qd (getpoint"左下角点:")) (setq fl (getdist qd "\n高度:")) (setq yx (getdist qd "\n长度:")) (setq pa (polar qd o yx )) (setq pb (polar pa(/pi 2)fl)) (setq pc (polar pb pi yx)) (command "line" qd pa pb pc "c") (princ) ) |