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
Solved! Go to Solution.
Solved by hgasty1001. Go to Solution.
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
(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).