pan w/ key-board arrows

Discussion in 'AutoCAD' started by mo-mo, May 26, 2004.

  1. mo-mo

    mo-mo Guest

    Hello,

    Does any one know how to make acad 2002 pan using the arrows on the key-board. Another thing that would be usefully is if you could zoom using the + and - keys on the keyboard.

    thanks in advance
    mo
     
    mo-mo, May 26, 2004
    #1
  2. mo-mo

    JRWalker Guest

    We have added this to the menu files to get something similar.

    ***ACCELERATORS
    [Control+"UP"]'-pan ^P(trans (list 0 (* -0.25 (getvar "viewsize"))) 0 1) ;^P
    [Control+"DOWN"]'-pan ^P(trans (list 0 (* 0.25 (getvar "viewsize"))) 0 1)
    ;^P
    [Control+"LEFT"]'-pan ^P(trans (list (* 0.25 (getvar "viewsize")) 0) 0 1)
    ;^P
    [Control+"RIGHT"]'-pan ^P(trans (list (* -0.25 (getvar "viewsize")) 0) 0 1)
    ;^P


    JRWalker

    key-board. Another thing that would be usefully is if you could zoom using
    the + and - keys on the keyboard.
     
    JRWalker, May 26, 2004
    #2
  3. mo-mo

    mo-mo Guest

    How do I add this to my menu file?
     
    mo-mo, Jun 6, 2004
    #3
  4. mo-mo

    ECCAD Guest

    mo-mo,
    Edit the file: \Program Files\AutoCAD 2002\support\acad.mns
    Search for ***ACCEL
    Cut / Paste the code there.
    Save the file (as a text file)
    In AutoCAD, at the command prompt, type:
    Menuunload<enter>.
    Unload any menu groups shown.
    Browse for acad.mns .. file you edited.
    Do 'Open', and load the menu.
    Close the Dialog.
    At this time, you should have the Control-keys needed.

    Bob
     
    ECCAD, Jun 6, 2004
    #4
  5. mo-mo

    mo-mo Guest

    Thank you very much for your help, I added the accelerator code to the acad support file and it works!

    mo
     
    mo-mo, Jun 13, 2004
    #5
  6. mo-mo

    ECCAD Guest

    ECCAD, Jun 13, 2004
    #6
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.