acaddoc.lsp revisited

Discussion in 'AutoCAD' started by ixoni, Mar 23, 2005.

  1. ixoni

    ixoni Guest

    After researching all the info on this I am still a bit confused.
    We just started using AutoCAD 2005. I took the acaddoc.lsp file from our 2002 installation and dropped into the primary 2005 support folder. It does not load when opening any new or existing file. The only way it loads is from the command line (load "acaddoc.lsp").

    I understood that everytime a drawing is opened AutoCAD would search for acaddoc.lsp first in the drawing directory then in the support paths. I have in C:\adt2005\support, which is the first path in our options list.

    Is there something else I need to do?

    Thanks
     
    ixoni, Mar 23, 2005
    #1
  2. Options > System Tab check of "Load Acad.lsp with every dwg"


    2002 installation and dropped into the primary 2005 support folder. It does
    not load when opening any new or existing file. The only way it loads is
    from the command line (load "acaddoc.lsp").
    acaddoc.lsp first in the drawing directory then in the support paths. I
    have in C:\adt2005\support, which is the first path in our options list.
     
    Albert Giuliano, Mar 23, 2005
    #2
  3. ixoni

    John Laidler Guest

    Try renaming it to: acad2005doc.lsp


    --
    John Laidler
    INCAT

    www.incat.com





    2002 installation and dropped into the primary 2005 support folder. It does
    not load when opening any new or existing file. The only way it loads is
    from the command line (load "acaddoc.lsp").
    acaddoc.lsp first in the drawing directory then in the support paths. I
    have in C:\adt2005\support, which is the first path in our options list.
     
    John Laidler, Mar 23, 2005
    #3
  4. ixoni

    Tom Smith Guest

    Options > System Tab check of "Load Acad.lsp with every dwg"

    The question is about acaddoc.lsp, not acad.lsp. Acaddoc.lsp should load in every drawing.

    You can force acad.lsp to behave this way by setting acadlspasdoc=1, but it can be useful to keep the default distinction between the two types of behavior. If you want a lisp to load in every drawing, the simplest way is to rename it from acad.lsp to acaddoc.lsp.
     
    Tom Smith, Mar 23, 2005
    #4
  5. ixoni

    Tom Smith Guest

    I suspect that is an ADT thing, you might pose the question in that NG.
     
    Tom Smith, Mar 23, 2005
    #5
  6. ixoni

    ixoni Guest

    As far as acad2005doc.lsp, there already is one that is created by AutoCAD, do not want to overwrite that one.

    This is ADT, so maybe it is an ADT thing, its just that the ADT Customizations group is not very active.

    Thanks
     
    ixoni, Mar 23, 2005
    #6
  7. ixoni

    ECCAD Guest

    At the expense of (1) line modification ----- last line in
    acad2005doc.lsp.......
    (load "acaddoc")

    Bob
     
    ECCAD, Mar 23, 2005
    #7
  8. ixoni

    ixoni Guest

    After testing, I realized the acad2005doc.lsp is not loading either.
     
    ixoni, Mar 23, 2005
    #8
  9. ixoni

    Jeff Mishler Guest

    Is it possible that you have duplicate .lsp files in a folder higher in the
    search path? I believe Acad will only autoload the first one found of each
    name.
     
    Jeff Mishler, Mar 23, 2005
    #9
  10. ixoni

    MiD-AwE Guest

    Make sure that you have added the location of your "acaddoc.lsp" file to your "support file search path".
     
    MiD-AwE, Mar 24, 2005
    #10
  11. ixoni

    ixoni Guest

    Both acad2005doc.lsp and acaddoc.lsp are in C:\ADT2005\Support, which is the first suppport path in Options.

    I am waiting to hear back from Autodesk support although they have not been too helpful so far. They pass the case along to the next level so I will post any resolutions here.

    Thanks
     
    ixoni, Mar 24, 2005
    #11
  12. ixoni

    ixoni Guest

    Okay, this was the problem. The following lsp routine had been set to load auotmatically in appload and was cancelling our everything that followed.

    "Also zero-slc.lsp should not be auto-loaded because it is a command that asks for objects once loaded. It starts the command and looks for objects to flatten if it is loaded and then the rest of the .lsp cancels out when it does not find what it is looking for."
     
    ixoni, Mar 24, 2005
    #12
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.