全代码还是你的那一段代码!
只不过就改了带有command的那一行
(defun C:test ()
(prompt "批量选择等分....")
(setq ss (ssget) Num (getint "多少等分?: ") i 0)
(while (setq ee (ssname ss i))
(command "divide" ee "b" "g:/gc119.dwg" "n" 3)
(setq i (1+ i))
)
)
全代码还是你的那一段代码!
只不过就改了带有command的那一行
(defun C:test ()
(prompt "批量选择等分....")
(setq ss (ssget) Num (getint "多少等分?: ") i 0)
(while (setq ee (ssname ss i))
(command "divide" ee "b" "gc119" "n" 3)
(setq i (1+ i))
)
)