 - (defun C:TE(/ dx aa a1)
- (setq
- aa (getint "\n 输入图层号:")
- a1 (strcat "_" (itoa aa))
- )
- (if (not(tblobjname "layer" a1))
- (command "-layer" "n" a1 "C" aa a1 "L" "Continuous" a1 "LW" "0.25" a1 "")
- )
- (if(setq dx (cadr (ssgetfirst)))
- (command "Chprop" dx "" "LA" a1 "")
- )
- (princ)
- )
[/code]
|