ahyin Posted October 4, 2011 Share Posted October 4, 2011 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 ! Quote Link to comment Share on other sites More sharing options...
MSasu Posted October 4, 2011 Share Posted October 4, 2011 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: (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 Quote Link to comment Share on other sites More sharing options...
ReMark Posted October 4, 2011 Share Posted October 4, 2011 Just curious. What is the full file path to your acaddoc.lsp file? Quote Link to comment Share on other sites More sharing options...
ahyin Posted October 6, 2011 Author Share Posted October 6, 2011 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 ! Quote Link to comment Share on other sites More sharing options...
ReMark Posted October 6, 2011 Share Posted October 6, 2011 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? Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted October 6, 2011 Share Posted October 6, 2011 Did you try: (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 Quote Link to comment Share on other sites More sharing options...
ahyin Posted October 10, 2011 Author Share Posted October 10, 2011 thanks for all ! Yes, I have added (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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.