+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Junior Member
    Using
    AutoCAD 2004
    Join Date
    Feb 2007
    Posts
    14

    Default Lisp file appload--Help

    Registered forum members do not see this ad.

    Hi Friends,

    How can I appload a lisp file for all drawings in once? Because, now i have to appload the same file, whenever i close and reopen the drwgs, to which the lisp file was already apploaded..

    So, Pls tell me good remedy to save the time from this...

    Thanks a million in advance

  2. #2
    Banned Alan Cullen's Avatar
    Using
    Map 3D 2009
    Join Date
    Jun 2006
    Location
    Cairns, Queensland, Australia
    Posts
    4,181

    Default

    Find or create a file called acaddoc.lsp, and add the following line to it:

    (load "lispfilename")

    Save the file to a folder similiar to this:

    C:\Documents and Settings\Admin\Application Data\Autodesk\AutoCAD Map 3D 2008\R17.1\enu\Support

  3. #3
    Full Member
    Using
    not specified
    Join Date
    Apr 2006
    Location
    Philippines
    Posts
    61

    Default

    This is what I did. I placed the lisp file to the support directory of the autocad program. Then I opened the acad.lsp located at the same directory.Under that filename, type load ("filename.lsp"). Hope it works.

  4. #4
    Super Member Raggi_Thor's Avatar
    Using
    AutoCAD 2008
    Join Date
    Aug 2007
    Location
    Trondheim, NORWAY
    Posts
    718

    Default

    acad.lsp is loaded once, when acad starts,
    acaddoc.lsp is loaded every time a dwg is opened.
    This is the default setting.

    Other methods are the suitecase you see in the appload dialog, and to make a mnu file and put the lisp in a mnl file with the same name as the mnu/cui.
    Mvh, Kvedja, Kind Regards,
    Ragnar Thor Mikkelsen
    http://www.DESIGNDATA.no/English.htm

  5. #5
    Forum Deity
    Using
    Civil 3D 2013
    Join Date
    Dec 2005
    Location
    GEELONG AUSTRALIA
    Posts
    3,780

    Default

    Registered forum members do not see this ad.

    You can also use Autoload.lsp same as acaddoc.lsp

    eg text in file loads lisp files

    Code:
    (autoload "COPY0" '("COPY0"))
    (autoload "COVER" '("COVER"))
    (autoload "DRAWXFALL" '("DRAWXFALL"))
    (autoload "EDITXSECT" '("EDITXSECT"))
    (autoload "EDITLSECT" '("EDITLSECT"))
    (autoload "FLIPLINE" '("FLIPLINE"))
    (autoload "JTEXT" '("JTEXT"))
    Last edited by SLW210; 20th Jul 2012 at 04:22 pm. Reason: Add Code Tags!!!!!

Similar Threads

  1. Looking for lisp file
    By wastewater in forum AutoLISP, Visual LISP & DCL
    Replies: 2
    Last Post: 15th Feb 2007, 06:40 pm
  2. Error: Unknown command when using the APPLOAD
    By Autodesk in forum AutoCAD RSS Feeds
    Replies: 0
    Last Post: 16th Nov 2006, 06:21 pm
  3. Using a DCL dialog box to input into a lisp file
    By simonP in forum AutoLISP, Visual LISP & DCL
    Replies: 7
    Last Post: 16th Nov 2006, 07:10 am
  4. create a text file using lisp
    By vivekgrs in forum AutoLISP, Visual LISP & DCL
    Replies: 2
    Last Post: 28th Jul 2006, 01:11 am
  5. help sought on lisp file alteration.
    By diarmuid in forum AutoLISP, Visual LISP & DCL
    Replies: 3
    Last Post: 5th Aug 2004, 08:25 am

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts