 - (defun c:tt ()
- (while (setq e (car (entsel "\n选择圆弧<退出>: ")))
- (cond ((= (cdr (assoc 0 (entget e))) "ARC")
- ;(xyp-Put-Mark (vlax-curve-getStartPoint e) 1 0)
- (setvar "PEDITACCEPT" 1)
- (command "pedit" e "")
- (setq e (entlast))
- (command "pedit" e "r" "")
- ;(xyp-Put-Mark (vlax-curve-getStartPoint e) 2 0)
- )
- )
- )
- (princ)
- )
|