Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Posts: 161
Registered: ‎06-16-2008
Message 1 of 3 (165 Views)
Accepted Solution


165 Views, 2 Replies
02-28-2012 05:49 PM

Hi all,


I am looking at a problem for a user who says a tool isnt working properly. This is legacy code, so not many people here know much about lisp.


The menu item macro is

^c^c^p(I#LLoad "PipeBreak");PIPEB


it returns

; error: no function definition: I#LLOAD

Command:  Unknown command "PIPEB".  Press F1 for help.


I have found the PipeBreak.lsp file, so I am assuming it has something to do with the I#LLOAD. What does that mean, if anything? I have Googled, but come up with nothing.


Any assistance would be greatly appreciated.



Valued Mentor
Posts: 467
Registered: ‎04-11-2010
Message 2 of 3 (164 Views)


02-28-2012 06:02 PM in reply to: BrentBurgess1980



Just use (load "PipeBreak") instead of (I#LLOAD "PipeBreak") , load it's a function that load a lisp file into Acad. If the file is in the AutoCAD search paths it will load that file, if not, you can add the directory to the search paths or load the file with the full path like: (load "c:/dir1/dir2..../PipeBreak.lsp"), another way is to add that lisp file to the startup suit.


Gaton Nunez

*Expert Elite*
Posts: 5,226
Registered: ‎10-12-2006
Message 3 of 3 (120 Views)


02-29-2012 08:18 AM in reply to: gasty1001

(load...) may not be an exact replacement.  The other function may set certain global variables, AutoCAD settings, block names, etc.  Its likely defined in another LSP or MNL file (if you're lucky), or in a FAS or VLX (if you aren't).

If you are going to fly by the seat of your pants, expect friction burns.
Adopt. Adapt. Overcome. Or be overcome.
A good question will be halfway to a good answer.

Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.