Override Acad.lisp shortcuts

Discussion in 'AutoCAD' started by edanastas, Jan 8, 2008.

  1. edanastas

    edanastas Guest

    Does anyone know how to override acad.lisp shortcuts. Some shortcuts
    are defined in the acad.lisp file and I cannot change that because of
    company policy, but I was hoping I can override those shortcuts in my
    own autocad version (ArchDesktop 2006)

    I'd really appreciate it if anyone can help, some of these shortcuts
    are very outdated.

    thanks!
     
    edanastas, Jan 8, 2008
    #1
  2. edanastas

    Dave Jones Guest

    if you are speaking of keyboard shortcuts for AutoCAD commands they are
    defined in the acad.pgp file. There is a section at the bottom of the
    file for the addition of user defined shortcuts and anything added there
    will override and same shortcut defined above in the main file. If you
    are speaking of command line entries to run LISP routines then that's
    another matter.
    hth,
    Dave
    DDP
     
    Dave Jones, Jan 9, 2008
    #2
  3. edanastas

    Bill DeShawn Guest

    Edanastas:
    You can create your own shortcut lisp file that you load from your own
    drawing session that will NOT be loaded if somebody else were to get
    on your computer. Create a file called ED.LSP and load it with (load
    "ed"). In your LISP file you can create a line of code that quickly
    gives ACAD.LSP priority so that if somebody higher up helps you, and
    sits at your keyboard for a moment, they will have company shortcuts
    at their disposal.

    (defun c:acadld () (load "acad")(princ)); type ACADLD to execute

    Put the next line in to automate opening ED.LSP in notepad.
    (defun c:edlsp () (startapp "notepad" (findfile "ed.lsp"))
    (princ));this won't work until ed.lsp is loaded first.

    Bill DeShawn
    http://my.sterling.net/~bdeshawn
     
    Bill DeShawn, Jan 9, 2008
    #3
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.