本帖最后由 vitalgg 于 2024-1-25 13:57 编辑
无需复制粘贴,在 您的 lsp 代码前加上一行代码,即可使用 上面提到的函数。
 - (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))))
|