OMEGA-ThundeR Posted March 23, 2009 Posted March 23, 2009 hi, I would like to make custom commands. I think that i can do that in the CUI (with the same command), but what i don't know is how to make an new command. For starters i would like to make the command "pej" for "Pedit > Join" and "pec" for "Pedit > Close" When i want to create an new command i see an textfield (macro) that says ^C^C . How do i know what those things mean? I don't know any commands that do a sub command with 1 key/command, otherwise i could check on those how its build up. Thanks in advance. Quote
neekcotrack Posted March 23, 2009 Posted March 23, 2009 hi, I would like to make custom commands. I think that i can do that in the CUI (with the same command), but what i don't know is how to make an new command. For starters i would like to make the command "pej" for "Pedit > Join" and "pec" for "Pedit > Close" When i want to create an new command i see an textfield (macro) that says ^C^C . How do i know what those things mean? I don't know any commands that do a sub command with 1 key/command, otherwise i could check on those how its build up. Thanks in advance. For the new command just right click on a tool bar button and go down to customize, from there right click on one of the list items and click new command. For the macro command text try the following: Ok go to google and type Autocad 2000 Customization guide, you the link you need to look at is the first one that has introdiction in front of it. That will be a pdf. The second one is Tailoring-AutoLISP-DCL-Diesel, if you are looking for that just send me a private message and I can help you with that one. I hope this helps. Read the first link I sent before you reply so you can see what questions you have after that. Quote
MaxwellEdison Posted March 23, 2009 Posted March 23, 2009 Look in your help file as well. Run a search through your help file for "Create Macros" This page should explain the syntax and contain the link to the page for the special control characters. Quote
Patrick Hughes Posted March 23, 2009 Posted March 23, 2009 Does 2009 still include the Alias Editor? It modifies the acad.pgp file (if that's still used) Quote
OMEGA-ThundeR Posted March 24, 2009 Author Posted March 24, 2009 Edit: Crap, the code messed up my post. Sorry, i will repost later today, i spend to much of my boss his time allready . Quote
BIGAL Posted March 25, 2009 Posted March 25, 2009 You have aliases already out of the box check acad.pgp you can add your own including custom lisps L C Z P AR PE line circle zoom pan pedit etc just try typing one character lots of commands We have 39 59 99 also snap settings R0 (r zero fillet radius) plus lots more Quote
BIGAL Posted March 25, 2009 Posted March 25, 2009 Sorry thinking of Acad.lsp ; (e.g. enter ZW for zoom window) (defun c:zm () (command "zoom")) (defun c:za () (command "zoom" "a")) (defun c:zw () (command "zoom" "w")) (defun c:pej () (command "pedit" "J")) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.