明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 568|回复: 1

下拉框选择事件:ads_undef 失败: <名称 编号 资源>:

[复制链接]
发表于 2025-9-10 11:28:35 | 显示全部楼层 |阅读模式


求助各位大佬!
加载lsp文件就报错:ads_undef 失败: <名称 编号 资源>: C:FILTERCONVERTER/FILTERCONVERTERFORM/FILTERCSVLIST#ONSELCHANGED 8445 22
  • ;;; === 修复列表选择事件 ===
  • (defun c:FilterConverter/FilterConverterForm/FiltercsvList#OnSelChanged (Index / selectedFile err)
  •       (setq err (vl-catch-all-apply
  •               '(lambda ()
  •                  (setq selectedFile (dcl-ComboBox-GetItem FilterConverter/FilterConverterForm/FiltercsvList Index))
  •                  (if (and selectedFile (/= selectedFile "未找到CSV文件"))
  •                    (progn
  •                      (setq *Freefv_selectedFile* selectedFile)
  •                      (Free_UpdateGridFromCSV selectedFile)
  •                      (if (= *Freefv_debugMode* 1)
  •                        (princ (strcat "\n[调试] 列表选择已变更,加载文件: " selectedFile))
  •                      )
  •                    )
  •                    (if (= *Freefv_debugMode* 1)
  •                      (princ "\n[调试] 未选择有效CSV文件")
  •                    )
  •                  )
  •                )
  •             ))
  •   (if (vl-catch-all-error-p err)
  •     (progn
  •       (princ (strcat "\n错误 [FiltercsvList#OnSelChanged]: " (vl-catch-all-error-message err)))
  •       (if (= *Freefv_debugMode* 1)
  •         (princ (strcat "\n[调试] 列表选择事件处理失败: " (vl-catch-all-error-message err)))
  •       )
  •     )
  •   )
  •   (princ)
  • )


回复

使用道具 举报

 楼主| 发表于 2025-9-10 16:59:31 | 显示全部楼层
没人吗?所有ai也没问出来结果

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-11-27 03:02 , Processed in 0.198380 second(s), 23 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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