Keyboard shortcut not working

Keyboard shortcut not working

les.booyse
Participant Participant
7,181 Views
10 Replies
Message 1 of 11

Keyboard shortcut not working

les.booyse
Participant
Participant

I am trying to set the keyboard shortcut for FILLET to "F". I have made the change in the .pgp file, and run REINIT. Now, when I type F, I get FLATTEN, instead of FILLET. I have been using AutoCAD since V10, and this is the first time I have had this problem. 

 

Anybody got any hints that will stop me going crazy? Thanks.

0 Likes
Accepted solutions (2)
7,182 Views
10 Replies
Replies (10)
Message 2 of 11

nrz13
Advisor
Advisor

A couple things come to mind:

1) You have LISP that is overriding that default command.  Change the command for that LISP to something other than F.

2) Turn off autocomplete on the command line (click wrench icon > Input Settings > uncheck AutoComplete.


Work:  AutoCAD 2022.1.3, Windows 10 Pro v22H2 64-bit, Intel Core i7-8700K, 32GB RAM, Samsung 960 Pro SSD, AMD Radeon Pro WX 5100, 3 Dell Monitors (3840x2160)
Home: AutoCAD 2022.1.3, Windows 10 Pro v22H2 64-bit, Intel Core i7-11700, 64GB RAM, Samsung 980 Pro SSD, NVIDIA Quadro P2200, Dell Monitor (3840x2160)
0 Likes
Message 3 of 11

CodeDing
Advisor
Advisor

@les.booyse ,

 

I thought FILLET was the default for "F"? It is on mine (Acad 2020).

Anyways, where did you update the fillet command in your PGP file? Did you use the correct section defined at the bottom? In the "User Defined Command Aliases" area?

 

image.png

 

You might also consider using the ALIASEDIT command. This is supposed to accomplish the same end result as updating the PGP file (Assuming you have Express Tools loaded of course).

 

Best,

~DD

0 Likes
Message 4 of 11

dlanorh
Advisor
Advisor
Did you quit and restart AutoCAD? IIRC updates to the *.pgp are only loaded on a restart. I would also check than assigning "F" to fillet is not lower down in the *.pgp file. Last one rules

I am not one of the robots you're looking for

0 Likes
Message 5 of 11

Sea-Haven
Mentor
Mentor

Autocad has used F since the day it was born etc for fillet, so somewhere redefine is being done either by lisp or pgp, so do a undefine will fix.

 

Otherwise have to look for redefine in all your code, in saying that you can use a windows command on a directory etc 

 

FINDSTR redefine *.lsp 

0 Likes
Message 6 of 11

les.booyse
Participant
Participant

Autocad has used F since the day it was born etc for fillet, so somewhere redefine is being done either by lisp or pgp...

 

I agree. That is why I have been soooooo frustrated!

 

I checked my Startup Suite of apps, and I only have 2 lsp files loaded:

acad2017.lsp,

acad2017doc.lsp

Neither of these contain any statements to redefine F as FLATTEN. I use no other lsp for my day-to-day CAD work.

 

I have checked the pgp file, and the shortcut for FILLET is shown as FF. Strange. I went to the User Defined section and added a customised line, using F for FILLET, and it still insists on loading FLATTEN.

 

I used to think that I knew AutoCad better than most. Guess I don't.

 

Thanks for the try. I have learned something today.

0 Likes
Message 7 of 11

ВeekeeCZ
Consultant
Consultant
Accepted solution

Watch for little visual differences, they might help you to narrow down the area to look.

 

F defined by *.pgp for FILLET

Z9E3zK5E_0-1595068775627.png

 

F defined by LISP (pgp definition was overwritten by LISP)

Z9E3zK5E_1-1595068797557.png

 

Message 8 of 11

Sea-Haven
Mentor
Mentor

You may have more than 1 PGP autocad stops searching once it finds. Do a C:drive search.

 

I started searching as I was typing this and its still going, thats why I use "Everything" instant find when will windows work that way.

0 Likes
Message 9 of 11

nrz13
Advisor
Advisor

@Sea-Havenbrings up a good point, although other .pgp files may be stored in different locations than just your C: drive.

You can see all the support folders that AutoCAD loads by going into OPTIONS > "Files" tab > "Support File Search Path" and expanding it to see all the paths that AutoCAD looks in.  Check all of those locations for .pgp or .lisp files that may be taking precedence over yours.


Work:  AutoCAD 2022.1.3, Windows 10 Pro v22H2 64-bit, Intel Core i7-8700K, 32GB RAM, Samsung 960 Pro SSD, AMD Radeon Pro WX 5100, 3 Dell Monitors (3840x2160)
Home: AutoCAD 2022.1.3, Windows 10 Pro v22H2 64-bit, Intel Core i7-11700, 64GB RAM, Samsung 980 Pro SSD, NVIDIA Quadro P2200, Dell Monitor (3840x2160)
0 Likes
Message 10 of 11

Sea-Haven
Mentor
Mentor

I found 4 copies.

0 Likes
Message 11 of 11

les.booyse
Participant
Participant
Accepted solution

Thank you! I started looking as you suggested, and after following a few rabbit holes, I discovered that the best way to get past this thing was to switch off AUTOCOMPLETE.

 

Problem solved! Until the next one.

 

Thank you all for your input.