Display full version of the post: Aliases Commands

RJBPIII
11.03.2011, 21:34
I use a lot of the keyboard Aliases commands.
I was able to use bk for block and bw for wblock
le works for leader so I tried to get lea to work for DIMASZ, but it will
not work, yet I can type DIMASZ and it will work to set the Leader Arrow size? any suggestions? could a macro be written to duplicate the typing in of DIMASZ ? I have used the .PGP file for years. I found you used the x for explode. I used to have ex for years, but could not get that to work either. some of the Aliases do not seem to take. any help would be great.

rob sj
12.03.2011, 10:15
Since when it is not working anymore? Are you working in a new workstation?

Cad64
12.03.2011, 17:20
Are you editing your pgp file with Autocad open? If so, you will need to type REINIT at the command line and reinitialize your pgp file in order to use the new alias. Another thought I had is that maybe you have more than one pgp file on your computer and you are editing the wrong file? Do a search of your machine and see how many pgp files pop up.

RJBPIII
16.03.2011, 18:51
I have been doing the reinit command, I even docuent the date using the F5 key to keep up with the date of changes, I will search for any other .PGP Files and see if perhaps there is a conflict. I added 4 aliases that work. tx for Text Standard, bk to make a block and wk to write a block. In the same .pgp file I added the *les     and the command that you can type manually. I think it was DIMASZ or something like that. It has to do  with setting the size of the Leader Arrow head. In an older version of autoLT I had also used ex for Explode and it worked for years, but now it will not work either, I have learned that x works, so I am having to just adapt. I normally search the whole file with find checking that there is not already another use of the letters I choose. Thank you for the reply.

John Connor
16.03.2011, 18:53
You must be editing the correct file if your changes are working.  That's good news.

Cad64
16.03.2011, 20:34
Are you putting your aliases at the bottom of the pgp file, in the user defined section or are you just editing the aliases in place? Autocad reads the aliases in the order they appear in the pgp file, so if you're editing your aliases in place, EX is already being used for Extend, so it can't be used for Explode because Explode is found further down the list. If you want to use EX for Explode then you will need to redefine the alias for Extend.If you place your custom aliases at the end of the pgp file, in the user defined section, they will override existing aliases, but you will still need to redefine the alias for Extend if you want to use EX for Explode.

RJBPIII
22.03.2011, 16:42
Sorry I used to use EP for explode, because I do use the EX for extend, Yes I am useing the bottom of the file, but I am going to check for another one in the documents section that may be causing a conflict. Over 1/2 of the Alais's I have tried to use, just some do not? Sort of confusing.

John Connor
22.03.2011, 17:28
You said some of your changes were working.  To me that would indicate you are editing the correct PGP file.  As to why some work and others don't I think you'd have to inquire at the AutoDesk Discussion Groups in the Customization area.  Maybe someone from within AutoDesk itself could provide you with an answer.

RJBPIII
29.03.2011, 05:59
I will try there next and thanks so much. do you work with the .scr files?
sure would like to see some examples.
I can click a button in Bentley and chage the layer, color, lien type, line weight all in the fly. Very hand, now I would like to know how to do this in autocad lt. I could enclose the VBA code, but thought the ..scr might work in Aclt??????