本帖最后由 llsheng_73 于 2025-1-16 11:06 编辑
- (defun c:TT(/ file)
- (and(or(setq file(findfile(strcat(getvar'DWGPREFIX)(VL-FILENAME-BASE(getvar'DWGname))".xlsx")))
- (setq file(findfile(strcat(getvar'DWGPREFIX)(VL-FILENAME-BASE(getvar'DWGname))".xls"))))
- (command"shell" file))))
|