delfuego Posted February 26, 2012 Share Posted February 26, 2012 Hi could someone help me I have a very small understanding of lisping but i do use a acad lisp file which i set up some time ago. this problem i have had for some time and is very annoying. I'm having a problem where if the ACAD.LSP file is loaded my pickfirst is disabled is there a particular line in my lisp that could be causing it to disable? Pickfirst shows as being set to 1 Pickadd is 1 it has nothing to do with the variables it only happens when the lisp file loads Quote Link to comment Share on other sites More sharing options...
ReMark Posted February 26, 2012 Share Posted February 26, 2012 Did you open your acad.lsp file and see where the change is being made? I think you need to add a line that reads something like (setvar "pickfirst" 1) but I'm not 100% positive. Quote Link to comment Share on other sites More sharing options...
delfuego Posted February 26, 2012 Author Share Posted February 26, 2012 thanks for the quick reply I have a very extensive ACAD.lsp file please see below i have tried to find where its being disabled but my knowledge is limited. ACAD.LSP Quote Link to comment Share on other sites More sharing options...
ReMark Posted February 26, 2012 Share Posted February 26, 2012 I don't think it is your extensive acad.lsp file that is the source of the problem. Way down very nearly at the bottom of your file is the same line I mentioned above. Are you using any custom lisp files not included as part of acad.lsp? Quote Link to comment Share on other sites More sharing options...
delfuego Posted February 26, 2012 Author Share Posted February 26, 2012 Hi Mark yes I just added the final line for testing purposes after your last post. the only other lisp that loads is this smkey.lsp SMKEY.LSP Quote Link to comment Share on other sites More sharing options...
ReMark Posted February 26, 2012 Share Posted February 26, 2012 I don't see anything in the SMKEY.lsp file that would reset PICKFIRST. Quote Link to comment Share on other sites More sharing options...
nestly Posted February 26, 2012 Share Posted February 26, 2012 Do you also have an acaddoc.lsp file? If it exists, and is in your search path, it's loaded after acad.lisp. How about other lisps being loaded by the Startup Suite? (APPLOAD) Quote Link to comment Share on other sites More sharing options...
delfuego Posted February 27, 2012 Author Share Posted February 27, 2012 Hi Nestly, I have been going through the process of opening up all of the lisps linked via my acad.lsp and removing commands that are no longer required as the acad lisp has been altered over a period of near 15 years. I just deleted all links to the acad.lsp to see what would happen and somehow autocad is still loading it. Is it possible the acaddoc.lsp might have imported from my acad.lsp file? acad2012doc.lsp Quote Link to comment Share on other sites More sharing options...
ReMark Posted February 27, 2012 Share Posted February 27, 2012 These are the lisp files I'm aware of in 2012 that get loaded (assuming they exist in the first place). acad2012.lsp acad.lsp acad2012doc.lsp acaddoc.lsp Have you checked your Startup Suite too? 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.