All About Autocad and Free Tutorial Autocad

Contact US

Name

Email *

Message *

Make Brief Temporary Orders With AutoLISP

For senior AutoCAD users must be familiar with the command - brief command in the command line. For them faster than using the toolbar. This short commands stored in a file that is acad.pgp. Fancy term for short commands are command aliases. For convenience, some people tend to change it by editing acad.pgp according to their taste :-)This of course change the default setting in AutoCAD. Already know khan effect of changing the default settings of AutoCAD? ...If you do not want to change it, you can wear a simple AutoLISP command below:Let's take the example of the trim command with "command aliases" t(Defun c: t (/) (command "_.trim"))Type the code above in the command line or if you are lazy, bisamenggunakan copy and paste the above code in the command line and press enter. Try entering t command in the command line. Then the exit is the TRIM command sequence, whereas the standard AutoCAD is Mtext command.So what will happen Mtext command?You can Define with another short commands, such tt, so the code is:(Defun c: tt (/) (command "_.mtext"))So for another command aliases, you change just to change the 2 variables:1. Name of command aliases, after (defun c: xxx2. Name the AutoCAD command, in the "_.xxx"Notes: Replace xxx command when adding new aliasesTo revert to the default condition settings, you must restart the program AutoCAD.Easy is not it?...

 
Tag : AutoLISP
0 Komentar untuk "Make Brief Temporary Orders With AutoLISP"

Back To Top