Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I#LLOAD

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
BrentBurgess1980
339 Views, 2 Replies

I#LLOAD

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.

 

Brent

2 REPLIES 2
Message 2 of 3

Hi,

 

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

Message 3 of 3
dgorsman
in reply to: hgasty1001

(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.
"I don't know" is the beginning of knowledge, not the end.


Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost