Results 1 to 3 of 3

Thread: Create New Command Alias

  1. #1
    Member
    Join Date
    2004-11
    Posts
    35
    Login to Give a bone
    0

    Default Create New Command Alias

    Hello,

    If I make a new icon on a toolbar and assign a macro to it. For example, I make a button that will purge everything, save and close. So now I have a button that I can click but how can I add a brand new alias that I can type in the command line to run that macro the same way you can type L for line or M for move etc...

    So, maybe set it up so I can type PCL and it will run that macro button. This may be easier to do in a LISP file then just have it load when I load ACAD

    Any help is greatly appreciated!

    Thanks!

  2. #2
    All AUGI, all the time
    Join Date
    2010-06
    Posts
    962
    Login to Give a bone
    0

    Default Re: Create New Command Alias

    From Menu ->Tools->Custmoize->edit program parameters (acad.pgp) and make your desired short cut for your name of macro .

    Tharwat

  3. #3
    I could stop if I wanted to
    Join Date
    2009-03
    Location
    London, England
    Posts
    304
    Login to Give a bone
    0

    Default Re: Create New Command Alias

    Just define a LISP command and call it in your macro, this way you have access from the command-line and toolbar.

    Let me know if you need help converting your macro to a LISP function.

    Lee

Similar Threads

  1. Command alias repeat on the command line
    By rbilger in forum AutoCAD General
    Replies: 8
    Last Post: 2011-08-18, 09:47 PM
  2. Command Alias Editor
    By gadjet in forum AutoCAD Civil 3D - General
    Replies: 0
    Last Post: 2009-05-29, 02:40 PM
  3. Command alias problem
    By cwclose in forum AutoCAD LT - General
    Replies: 1
    Last Post: 2008-02-08, 10:29 AM
  4. command alias
    By chrisw.94380 in forum AutoLISP
    Replies: 12
    Last Post: 2005-09-23, 03:25 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
  •