Seneb Posted January 23, 2009 Posted January 23, 2009 This is what shows up in the command line when AutoCAD 2009 starts up: ASCTEXT loaded. C:OFILE - Create script file for Openning! C:SFILE - Create script file for purging! Loading...error: bad function: I've searched the ASCTEXT.lsp file for OFILE and SFILE, but they aren't in there. I'm starting to wonder if I need to add them to make ACAD happy. Any ideas?? Quote
CarlB Posted January 23, 2009 Posted January 23, 2009 You might check what's in acad.lsp, acad200xdoc.lsp, acad.mnl, etc which also get loaded at startup. I don't think asctext.lsp is the problem, it loaded fine. The next 2 lines just look like prompts. Then an error occurs. Quote
Seneb Posted January 23, 2009 Author Posted January 23, 2009 I'm pretty sure I figured out what is going on. I think the calls are actually notes from whomever created the file "BatchPurge.lsp" and I think that was the previous CAD Manager here. Two clues are that "Openning!" should have only one "n" and "Openning!" and "purging!" should both start with capital letters or lower case letters. I've been working with documents he created that have multiple spelling errors. These are the first several lines of code from the "BatchPurge.lsp" file. "sfile.lsp" doesn't exist on our systems. Content-Type: text; name="sfile.lsp" Content-Transfer-Encoding: 8bit Content-Disposition: inline; filename="sfile.lsp" (princ "\nC:OFILE - Create script file for Openning!") (princ "\nC:SFILE - Create script file for purging!") (defun C:OFILE ( / ed_file ed_path ed_wrk) Quote
Lee Mac Posted January 24, 2009 Posted January 24, 2009 Looks like you've found your problem... you'd have thought someone would have at least spelt "opening" properly... Quote
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.