PDA

View Full Version : Lisp not loading with CUI



Borg
2005-06-08, 07:49 PM
Now that I seem to have my custom menus loaded properly, I'm having trouble loading the lisp files associated with them. The CUI dialog states that MNL files with the same name as partial cui files are automatically loaded. That hasn't been the case so far. So I gave up and decided to copy the MNL file to a LSP file with a different name. Then, in the CUI, I designate that LSP file in the Lisp Files section. Of course, this file is a collection of numerous LSP routines. Anyway, I have toolbar buttons that are supposed to call up necessary lisp routines. It's not happening.

Suggestions?

Borg
2005-06-08, 08:07 PM
Duh!!!! I should have taken a quick peak inside the lisp routine. The very first line was trying to load something from an obsolete path. Of course that crashed it and nothing else loaded.

RobertB
2005-06-09, 05:32 AM
I'm glad you figured it out. I knew mine were working ok!

scervantes
2006-03-30, 05:25 PM
Duh!!!! I should have taken a quick peak inside the lisp routine. The very first line was trying to load something from an obsolete path. Of course that crashed it and nothing else loaded. Hello borg
My lisp wont load
what do I need to do for my lisp routines to function
here is a portion of my lis routines

If you can please inform me as to how to proceed and any other thing I might need to
be able to load them

Thank you

Opie
2006-03-30, 05:36 PM
Hello borg
My lisp wont load
what do I need to do for my lisp routines to function
here is a portion of my lis routines

If you can please inform me as to how to proceed and any other thing I might need to
be able to load them

Thank you
Do you call them from somewhere so the files will load? Have you tried renaming this file to either acaddoc.lsp or acad.lsp? Is the directory your lisp files are located in found in Autocad's support paths?

RobertB
2006-03-31, 12:46 AM
My lisp wont load
what do I need to do for my lisp routines to function
here is a portion of my lis routines

If you can please inform me as to how to proceed and any other thing I might need to
be able to load themThe issue was that one of the comment lines at the top of the file has an invalid character. Removing the offending line permitted AutoCAD 2006 to load the file.