Jump to content

Recommended Posts

Posted

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??

Posted

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.

Posted

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)

Posted

Looks like you've found your problem... you'd have thought someone would have at least spelt "opening" properly... :P

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...