1143| 8
|
[提问] grread左键后,如何让后续的ssget函数可多次选择 |
20明经币
最佳答案;将ssget写到while里
(defun c:t1 ()
(setq loop t sss(ssadd))
(prompt "\n左键框选")
(while loop
(setq gr(grread t 15 2) pt(cadr gr) gr(car gr))
(cond
((= 3 gr)
(setq pt1(getcorner pt "\n选择下一点:") ss(ssget "c" pt pt1 '((0 . "line"))))
(mapcar(function(lambda(x)
(if(ssmemb x sss)nil
(progn(setq sss(ssadd x sss))(redraw x 3))
...
| ||
发表于 2022-11-6 17:37:34
|
显示全部楼层
点评
谢谢
| ||
发表于 2022-11-6 22:16:12
|
显示全部楼层
评分 | ||
点评
(if command-s command-s command)
| ||
发表于 2022-11-7 10:49:05
|
显示全部楼层
| ||
| ||