(defun c:tt()
(setq p1 (getpoint "n选取矩形第一点:>"))
(setq p2 (getpoint "n选取矩形第二点:>"))
(command "_rectang" p1 p2)
(prin1)
)
这是最简单的画矩形的程序
"))(setq p2 (getpoint "n选取矩形第二点:" property="og:description"/>
(defun c:tt()
(setq p1 (getpoint "n选取矩形第一点:>"))
(setq p2 (getpoint "n选取矩形第二点:>"))
(command "_rectang" p1 p2)
(prin1)
)
这是最简单的画矩形的程序