Results 1 to 4 of 4

Thread: Keyboard Shortcut Keys

  1. #1
    Active Member
    Join Date
    2004-12
    Posts
    80
    Login to Give a bone
    0

    Default Keyboard Shortcut Keys

    Is there a way to set up keyboard shortcut keys using keys other than the accelerator keys? For instance:

    I want to set it up so that DF will perform a Draworder Front command. So I want to be able to type DF, then be able to select an object and have it come to the front. I cannot figure out a way to do this. I am fairly certain that I can do it if I assign one of the accelerator keys to it... but shouldn't I be able to assign whatever keys I want to be the shortcut keys?

    Part of the problem I am having is that there needs to be user input in the middle of the process (to choose which objects to bring to the front) and I can't figure that out. I can set it up so that when I type DF it goes to the Draworder command but then I am getting hung up every time at that step.

    I have tried this using CUI (I even found the macro assigned to the command: (^C^C^P(ai_draworder "_f") ^P). I tried doing it in the PGP file. I tried doing it in the ACAD2008.LSP file that runs at startup. I just cannot figure it out.

    HELP?? Anyone??

    Thanks

  2. #2
    I could stop if I wanted to
    Join Date
    2003-12
    Location
    Pittsburgh, PA
    Posts
    355
    Login to Give a bone
    0

    Default Re: Keyboard Shortcut Keys

    Put this in your acaddoc.lsp or acad2008.lsp file
    Code:
    (defun c:df ()
    (setq ss (ssget))
    (command "draworder" ss "" "F")
    )

  3. #3
    Certifiable AUGI Addict ccowgill's Avatar
    Join Date
    2004-08
    Location
    Iron Station, NC
    Posts
    3,197
    Login to Give a bone
    0

    Default Re: Keyboard Shortcut Keys

    Quote Originally Posted by lpseifert View Post
    Put this in your acaddoc.lsp or acad2008.lsp file
    Code:
    (defun c:df ()
    (setq ss (ssget))
    (command "draworder" ss "" "F")
    )
    put it in your acaddoc.lsp, NOT your acad2008.lsp, it is an AutoDesk file and is subject to be overwritten during repairs or updates

  4. #4
    Certifiable AUGI Addict robert.1.hall72202's Avatar
    Join Date
    2004-07
    Location
    Detroit Michigan
    Posts
    2,508
    Login to Give a bone
    0

    Default Re: Keyboard Shortcut Keys

    Interesting idea. I could see how that would be quicker than doing
    a right click to get the shortcut menu with draworder.

    I am always going to "select bring to the front"

Similar Threads

  1. Shortcut keys
    By Wish List System in forum NavisWorks - Wish List
    Replies: 6
    Last Post: 2017-08-17, 10:52 PM
  2. Shortcut Keys
    By daniel.rushton in forum AutoCAD Customization
    Replies: 2
    Last Post: 2009-05-10, 11:12 PM
  3. Hotkeys vs Shortcut keys
    By kathy71046 in forum Revit - Platform
    Replies: 6
    Last Post: 2008-08-28, 02:43 AM
  4. Shortcut Keys for Number Pad
    By jabamax in forum AutoCAD CUI Menus
    Replies: 3
    Last Post: 2008-05-30, 02:59 PM
  5. Create own Shortcut Keys
    By basha_sk312 in forum AutoCAD CUI Menus
    Replies: 2
    Last Post: 2006-03-15, 08:37 PM

Posting Permissions

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