How can I?

Discussion in 'AutoCAD' started by Sokrat, Jun 8, 2005.

  1. Sokrat

    Sokrat Guest

    How can I make my lisp files to work for permanent? So I do not have to load
    them again every time when open autocad?
     
    Sokrat, Jun 8, 2005
    #1
  2. What version?
     
    Michael Bulatovich, Jun 8, 2005
    #2
  3. Sokrat

    Sokrat Guest

    Sokrat, Jun 8, 2005
    #3
  4. Sokrat

    l94 Guest

    Run this lisp at the command line.
    (startapp "notepad" (findfile "acaddoc.lsp"))

    Inside the file that opens, add load statements for your lisp routines,
    like:

    (load "mylisp1")
    (load "N:\\mybiglispdir\\mylisp2") <- use the path if necessary
    (load "mylisp3"), etc.

    You might want to look at the (autoload) function also.

    Save the file "acaddoc.lsp"
    Restart AutoCAD.
     
    l94, Jun 9, 2005
    #4
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.