1029| 5
|
[提问] 简单的连续标注 |
5明经币
最佳答案(defun c:tt5 (/ i pb ptlst px)
(while (setq px (getpoint"\选点:")) (setq ptlst (cons px ptlst)))
(setq i -1 pa (car ptlst))
(while (setq pb (nth (setq i (1+ i)) ptlst))
(if (> i 0) (command "DIMLINEAR" "non" (nth (1- i) ptlst) "non" pb "non" (polar pa (* 1.5 pi) 1000)))
);while
(command "DIMLINEAR" "non" pa "non" (last ptlst) "non" (polar pa (* 1.5 pi) 2000))
(princ)
)
| ||
发表于 2022-3-7 07:18:57
|
显示全部楼层
| ||
发表于 2022-3-7 14:01:27
|
显示全部楼层
点评
谢谢
| ||
| ||