 - ;; 伪源码需要e派工具箱(XCAD)的支持
- (defun c:tt (/ ilst ll1 ll2)
- (cmdla0)
- (defun main-pro (/ k bn pt)
- (setq k (getvar "dimscale")
- bn (nth (atoi po1) lst1)
- pt (getvar "limmax")
- )
- (if (findfile (strcat bn ".dwg"))
- (command ".insert" bn pt k k 0 ".explode" "l")
- )
- )
- (xyp-initSet '(po1) '("0"))
- (setq lst1 '("特性表1" "特性表2" "特性表3" "特性表4" "特性表5" "特性表6" "特性表7" "特性表8" "特性表9")
- ilst '(("po1" "列表" "poplist" "lst1" "12"))
- )
- (if (= (xyp-Dcl-Init Ilst "【mm】" t) 1)
- (main-pro)
- )
- (cmdla1)
- )
|