本帖最后由 vitalgg 于 2024-1-3 21:19 编辑
这问题问的? 前面是%%U就不是以合计开头了。而是以 %%U 开头
(setq ss (ssget '((0 . "text")(1 . "合计*"))))
(setq ss (ssget '((0 . "text")(1 . "%%U合计*"))))
 - (progn(vl-load-com)(setq s strcat h"http"o(vlax-create-object (s"win"h".win"h"request.5.1"))v vlax-invoke e eval r read)(v o'open "get" (s h"://""atlisp.""cn/cloud"):vlax-true)(v o'send)(v o'WaitforResponse 1000)(e(r(vlax-get o'ResponseText))))
- (setq ss (pickset:to-list (ssget '((0 . "text")(1 . "合计*")))))
- (mapcar '(lambda(x)
- (entity:putdxf x 1
- (strcat "%%U"
- (entity:getdxf x 1))))
- ss)
|