3091| 6
|
求柱梁名称加前缀或后缀lsp程序 |
1明经币
最佳答案(DEFUN GETSTR(SS sign QZ HZ)
(REPEAT (SETQ N(SSLENGTH SS))
(SETQ STR(CDR(ASSOC 1(SETQ S(ENTGET(SETQ E(SSNAME SS(SETQ N(1- N)))))))))
(SETQ NUM (STRLEN STR))
(IF(and(SETQ POS(vl-string-search sign STR))
(not(vl-string-search "QL" STR))
(not(vl-string-search "GZ" STR))
)
(PROGN
(SETQ POS1(vl-string-search "(" STR))
(IF (/= QZ "")
(SETQ NEWSTR(STRCAT QZ(SUBSTR ST ...
| ||
| ||
| |
| ||