明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
楼主: masterlong

[源码] 文件夹批量处理·pldir(测试版)

[复制链接]
发表于 2016-7-29 06:46 | 显示全部楼层
楼主,这个功能有没有最新版的可以共享一下吗?谢谢
 楼主| 发表于 2016-7-29 11:20 | 显示全部楼层
点击“添加路径”没反应的具体原因
我也不知道
因为我这里一切正常

解决的办法有一个
见21楼
跳过函数中的第1句即可

;;添加路径没反应时,用下面函数代替(不懂lisp的,直接粘贴到lisp最末尾,重新加载即可)
(defun addpath( / lastpath thispath )
(setq thispath (dos_getdir "指定文件夹" "" "选择要批量操作的文件夹" Nil))
(if thispath
  (if (assoc thispath alldwg)
   (if (= 6 (dos_msgbox "已添加此路径。\n\n是否重新搜索?" "提示" 4 3))
    (addpath_main thispath)
   )
   (addpath_main thispath)
  )
  (mode_tile "cancel" 2)
)
(princ)
)
发表于 2023-9-24 19:44 来自手机 | 显示全部楼层
这个不错呀。试一试
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 )  
©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途

GMT+8, 2024-5-22 10:06 , Processed in 0.182615 second(s), 19 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表