(DEFUN C:TT()
(vl-load-com)
(setq p (getpoint "\n起点 "))
(setq q (getpoint p "\n终点点 "))
(setq r1 (getdist "\n起点半径"))
(setq r2 (getdist "\n起点半径"))
(setq l1(entmakex (list (cons 0 "LINE") (cons 10 p)(cons 11 q)(cons 62 2))))
(setq er1(entmakex (list (cons 0 "CIRCLE") (cons 10 p) (cons 40 r1)(cons 62 4))))
(setq er2(entmakex (list (cons 0 "CIRCLE") (cons 10 q) (cons 40 r2)(cons 62 4))))
(vlax-ldata-put l1 "规格" (strcat "l1="(rtos (distance p q) 2 0)))
(vlax-ldata-put er1 "规格" (strcat "r1=" (rtos r1 2 0)))
(vlax-ldata-put er2 "规格" (strcat "r2="(rtos r2 2 0)))
)
Excuse me what method can be the same length as the radius of the circle line, the same as a group of selected objects! Contains: copy,