本帖最后由 vitalgg 于 2025-3-14 16:00 编辑
 - (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))))
- (defun c:azf ()
- (@::prompt "调整尺寸安装缝")
- (setq anzhuangfeng (getint "请输入要调整尺寸安装缝(mm):"))
- (mapcar
- '(lambda(x)
- (entity:putdxf
- x
- 1
- (itoa (fix (+ anzhuangfeng (entity:getdxf x 42))))))
- (pickset:to-list (ssget '((0 . "DIMENSION"))))))
已整合进@lisp, 可安装 @lisp标注 应用包使用。
|