乐筑天下

搜索
欢迎各位开发者和用户入驻本平台 尊重版权,从我做起,拒绝盗版,拒绝倒卖 签到、发布资源、邀请好友注册,可以获得银币 请注意保管好自己的密码,避免账户资金被盗
查看: 90|回复: 6

[编程交流] can't load acaddoc.lsp in

[复制链接]

16

主题

70

帖子

54

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
80
发表于 2022-7-6 08:49:11 | 显示全部楼层 |阅读模式
Dear All,
 
anyone know which file to control read autolisp file in support file search path, because I have already add the search path to read the acaddoc.lsp file. But it is unable to loading.
 
Thanks !
回复

使用道具 举报

35

主题

2471

帖子

2447

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
174
发表于 2022-7-6 08:59:29 | 显示全部楼层
There are two possible causes that your acaddoc.lsp file isn't loaded:
   1. The location isn't good - to check this write the code below on command prompt - if return the path, then the location is OK:
  1. (findfile "acaddoc.lsp")
   2. The content of the file isn't valid - in this case you can post the trouble-maker file here for a debug.
 
Regards,
Mircea
回复

使用道具 举报

10

主题

8258

帖子

8335

银币

初来乍到

Rank: 1

铜币
31
发表于 2022-7-6 09:11:17 | 显示全部楼层
Just curious.  What is the full file path to your acaddoc.lsp file?
回复

使用道具 举报

16

主题

70

帖子

54

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
80
发表于 2022-7-6 09:21:30 | 显示全部楼层
thanks for all of your reply, the search path in c:\document and setting\all users\cad. This path I'm used for a long time but yesterday it doesn't work. I'm not sure it there any AutoCAD configuration files to control the loading of this acaddoc.lsp file.
 
Thanks again !
回复

使用道具 举报

10

主题

8258

帖子

8335

银币

初来乍到

Rank: 1

铜币
31
发表于 2022-7-6 09:33:43 | 显示全部楼层
The path used to work but has since stopped working?  Odd indeed.
 
Why didn't you put your acaddoc.lsp file in the AutoCAD Support folder?
回复

使用道具 举报

114

主题

1万

帖子

1万

银币

中流砥柱

Rank: 25

铜币
543
发表于 2022-7-6 09:48:41 | 显示全部楼层
Did you try:
 
  1. (findfile "acaddoc.lsp")
At the command-line as msasu suggested?
 
If the above returns nil, it means AutoCAD cannot find your ACADDOC.lsp file, which perhaps means that your path is not listed as a support path.
 
Check that your path is present under Tools > Options > Files (tab) > Support File Search Path
回复

使用道具 举报

16

主题

70

帖子

54

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
80
发表于 2022-7-6 09:56:38 | 显示全部楼层
thanks for all ! Yes, I have added
  1. (findfile "acaddoc.lsp" )
before. I'm not sure above return nil or not, I will check it later. Acaddoc.lsp have been in search path as Lee Mac said.  under Tools > Options > Files (tab) > Support File. Search Path. Actually, I have above setting long time ago and working well. So I want to check any autocad configuration files to control this setting. Thanks again for all of of your suggestion.
回复

使用道具 举报

发表回复

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

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

QQ|关于我们|小黑屋|乐筑天下 繁体中文

GMT+8, 2025-3-7 08:05 , Processed in 0.609654 second(s), 66 queries .

© 2020-2025 乐筑天下

联系客服 关注微信 帮助中心 下载APP 返回顶部 返回列表