• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Visual LISP, AutoLISP and General Customization

    Reply
    Mentor
    BrentBurgess1980
    Posts: 157
    Registered: ‎06-16-2008
    Accepted Solution

    I#LLOAD

    100 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.

     

    Brent

    Please use plain text.
    Mentor
    Posts: 218
    Registered: ‎04-11-2010

    Re: I#LLOAD

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

    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

    Please use plain text.
    *Expert Elite*
    dgorsman
    Posts: 3,282
    Registered: ‎10-12-2006

    Re: I#LLOAD

    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.


    Please use plain text.