See the top rated post in this thread. Click here

Page 3 of 3 FirstFirst 123
Results 21 to 30 of 30

Thread: Edit Command Aliases and add new ones

  1. #21
    Member
    Join Date
    2016-01
    Posts
    11
    Login to Give a bone
    0

    Default Re: Edit Command Aliases and add new ones

    1. I did a standard installation and it went into C:\Program Files\Autodesk\AutoCAD LT 2011\UserDataCache\Support
    So I just tried Manage, Edit Aliases then added a new one at the end, then restarted autocad ( I guess I could have invoked Reinit) and that worked perfectly

    2.True enough so that's a bad example but you still need to use a lisp file to create ZP (Zoom Previous), or ZE,ZD.
    I tried the procedure described by some one else in exact detail, copying the actual code and it didn't work. Ugh!

  2. #22
    Certifiable AUGI Addict tedg's Avatar
    Join Date
    2005-06
    Location
    in the upper right corner
    Posts
    3,507
    Login to Give a bone
    0

    Default Re: Edit Command Aliases and add new ones

    Quote Originally Posted by Larry Deigh View Post
    1. I did a standard installation and it went into C:\Program Files\Autodesk\AutoCAD LT 2011\UserDataCache\Support
    So I just tried Manage, Edit Aliases then added a new one at the end, then restarted autocad ( I guess I could have invoked Reinit) and that worked perfectly

    2.True enough so that's a bad example but you still need to use a lisp file to create ZP (Zoom Previous), or ZE,ZD.
    I tried the procedure described by some one else in exact detail, copying the actual code and it didn't work. Ugh!
    Are you using AutoCAD LT? (if so you didn't mention that before)
    LISP will not work in LT

  3. #23
    Administrator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,804
    Login to Give a bone
    0

    Default Re: Edit Command Aliases and add new ones

    Quote Originally Posted by Larry Deigh View Post
    1. I did a standard installation and it went into C:\Program Files\Autodesk\AutoCAD LT 2011\UserDataCache\Support


    That is not the correct version of the file you should be editing.

    To make all of this SO much simpler, two steps:

    1. Create a folder (something like C:\CADSTUFF) and put your "acad.pgp" in there.
    2. Add this folder to the TOP of your support file search path.

    Done.

    Now you won't have any questions as to what file to edit, no permissions problems, and you know exactly where to find the things to save when you are moving to a new machine, etc.
    R.K. McSwain | CAD Panacea |

  4. #24
    Member
    Join Date
    2016-01
    Posts
    11
    Login to Give a bone
    0

    Default Re: Edit Command Aliases and add new ones

    OK. Thanks.

  5. #25
    Member
    Join Date
    2000-12
    Posts
    2
    Login to Give a bone
    0

    Default Re: Edit Command Aliases and add new ones

    Great idea. Changing C to mean copy is the first thing I do when I sit down to a new AutoCAD. I still work on an older version. Can't you still just edit the acad.pgp file with Notepad from Windows? By the way you should know, AutoCAD reads the pgp file from the top. It executes the first C it finds even if the old C is still there below. (Since I mainly do architectural-type drawings I could never understand why they chose C for circle.)

  6. #26
    Member
    Join Date
    2000-12
    Posts
    2
    Login to Give a bone
    0

    Default Re: Edit Command Aliases and add new ones

    One other thing. It is a good idea to save the original acad.pgp unaltered under a different name so you can quickly restore it if need be. (Like other users use your computer, a tech support person comes, etc.)

  7. #27
    Administrator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,804
    Login to Give a bone
    1

    Default Re: Edit Command Aliases and add new ones

    Quote Originally Posted by lma100 View Post
    By the way you should know, AutoCAD reads the pgp file from the top. It executes the first C it finds even if the old C is still there below.
    That is false.

    AutoCAD reads the entire file into memory once at startup (and again if you run the ReInit command).
    The last read definition is the one that sticks.
    That is why the USER section is at the bottom of this file.
    R.K. McSwain | CAD Panacea |

  8. #28
    Member
    Join Date
    2016-01
    Posts
    11
    Login to Give a bone
    0

    Default Re: Edit Command Aliases and add new ones

    At the end of the .pgp file there is a place for user defined command aliases. And a note that states users should make all new aliases below that note because it will read it first. I didn't change or remove any of the aliases above that area and it worked correctly.

  9. #29
    Member
    Join Date
    2009-05
    Posts
    2
    Login to Give a bone
    0

    Default Re: Edit Command Aliases and add new ones

    Aliasedit Command.
    Pick the C.
    Click Edit.
    Enter Copy as the AutoCAD Command.
    Click Ok.

    Hope this helps.

    Mike S.
    Attached Images Attached Images

  10. #30
    I could stop if I wanted to Hammer.John.J's Avatar
    Join Date
    2015-09
    Location
    Springfield, MA
    Posts
    491
    Login to Give a bone
    0

    Default Re: Edit Command Aliases and add new ones

    Quote Originally Posted by Larry D View Post
    This is my first post on AUGI. I am trying to create new command aliases: “c” for copy (instead of circle), “zw” for zoom window, and more. The instructions start by saying “Click Tools” and I’m already stymied. There is no “Tools” to click that I can see. Can anyone help on how to view a list command aliases and how to either modify or add new ones? Thanks much.
    you don't need to make a command for this, do a quick search on "actions", you can record an action, save the action for yourself or others and then have all the recorded actions be incorporated into your search path for actions in the profile.aws

Page 3 of 3 FirstFirst 123

Similar Threads

  1. Command Aliases for Custom Commands
    By mockdeep in forum AutoCAD General
    Replies: 3
    Last Post: 2007-08-02, 01:39 PM
  2. Edit Command Aliases via CUI
    By autocad.wishlist1734 in forum AutoCAD Wish List
    Replies: 2
    Last Post: 2007-07-25, 12:46 PM
  3. Command aliases not working
    By lambertm in forum AutoCAD General
    Replies: 13
    Last Post: 2005-08-02, 02:30 PM
  4. Customize command aliases
    By kyle.86575 in forum AutoCAD Customization
    Replies: 3
    Last Post: 2005-05-06, 01:42 PM
  5. Command Aliases
    By frank.burnham in forum ACA General
    Replies: 2
    Last Post: 2004-10-26, 06:31 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
  •