- ;;弧长标注
- (defun C:hu (/ obj el larc multi)
- (setvar "CMDECHO" 0)
- (setq multi (getvar 'dimlfac));;;add 2002.5.15 can remove
- (while (and (setq obj (entsel "\nSelect ARC:<Exit> "))
- (setq el (entget (car obj)))
- (= (cdr (assoc 0 el)) "ARC"))
- (command "lengthen" obj "")
- (setq larc (* (getvar "perimeter") multi))
- (setq larc (strcat "\{\\Fgdt.shx|c0;^\}\\P" (rtos larc 2 2)))
- (command "dimangular" obj "t" larc PAUSE)
- )
- (princ)
- )
|