本帖最后由 elitefish 于 2018-6-10 20:38 编辑
序号代码
01.
02.
03.
04.
05.
06.
07.
08.
09.
(defun C:CC ( / elast r)
(setq elast (entlast))
(setq r (getreal "\n输入圆半径"))
(command "CIRCLE" '(0 0) r )
(princ (getvar 'CMDACTIVE))
(if (not (equal (entlast) elast))
(command "move" (ssadd (entlast)) "" '(0 0))
)
)
页:
1
[2]