"Fuchs" wrote:
Does anybody know how to change the funktion of the F3-F12 keys in AutoCad2000?? I am a little bit uncertain because there are allready some funktions at these keys and I don't want to use the Shift or Control buttons.
Thanks for all answers.
Fuchs
Please forgive my bad English, I am from Austria.
Sir,
Fortunately for you the only two languages I do speak are English and Bad English. However, I think I can help you with your question.
The following is my AutoCAD menu Function Key customization, as of AUTOCAD r14.
To my knowledge, as we are about to upgrade to AutoCAD 2002, there is nothing in what follows which will not run under versions 2000, 2000i,or 2002. All of the follwing customization takes place in the ACAD.mnu file in the ***ACCELERATORS section.
Remember to save your original ACAD.mnu file or create a new FUCHS.mnu file. And, you must make AutoCAD see (and select) the new menu - refer to your manual or to the AutoCAD help for further details.
Please note that I have been programing (and re-programming) the Function Keys as well as other keyboard keys since about 1987, so some of my assignments (and re-assignments) reflect old DOS usages and old habits.
One further note, I assign the F1 key assignment as the "@" prefix for AutoCAD's "delta" Cartesian coordinate entry. I have never understood why AUTODESK saw fit to require a prefix for "delta" x,y coordinate entry - and a two-key two-finger (Shift-2) prefix at that!
Lastly, the "//" which precedes the text below designates lines which will NOT be read as part of the AutoCAD menu.
// Custom "PIANO" Keyboard Assignments (version 28) to be added to the // ACAD.mnu ***ACCELERATORS. // // According to AUTODESK TD104068.doc (10/9/97 - rev. 6/12/98):
// "NOTE: F10 is used by the Windows operating system as an // alternative to ALT and therefore is not user configurable." // // Also "not user configurable" is the SHIFT+F10, CONTROL+F10, // any ALT-keys, the TAB key, or (apparently) any "grey" key). // // NOTE: Apparently the ACAD.mnu is also limited in the number of // keys which you can assign. It appears that only (31) keys may // be assigned. // // The above limits may not apply under AutoCAD 2000/2000i/2002.
["F1"]@x^h
// Use 'HELP, ALT-F1, or SHIFT-F1 instead of ACAD default F1. ["F2"]endp // '.graphscr is CTRL-F2. ["F3"]int // Use 'DDOSNAP instead of ACAD default F3. ["F4"]mid // Use CRTL-T instead of ACAD default F4 for TABMODE toggle. ["F5"]per // Use CRTL-E instead of ACAD default F5 for ISOPLANE toggle. ["F6"]cen // Use CRTL-D instead of ACAD default F6 for COORDS toggle. ["F7"](HW) // Use CRTL-G instead of ACAD default F7 for GRID toggle. ["F9"]app // Use CRTL-B instead of ACAD default F9 for SNAP toggle. ["F11"]nod,qua // No F10 in ACAD/Window NT! ["F12"]nea ["NUMPAD7"]insert // INSERT (without ".") doubles as the INSERT command as well as // the OSNAP INSERTion-point-of. ["NUMPAD8"].change ["NUMPAD9"]chtext ["NUMPAD4"]CP // CP is doubles as both the default .pgp alias for COPY as well // as Crossing Polygon set selector ["NUMPAD5"].stretch c ["NUMPAD6"].fillet r 0 .fillet ["NUMPAD1"]'.redraw ["NUMPAD2"]'.zoom p ["NUMPAD3"]'.pan ["NUMPAD0"]'.zoom w [SHIFT+"F1"].change l p la [SHIFT+"F2"].change l p lt [SHIFT+"F3"].change l p c [SHIFT+"F4"].change p p la [SHIFT+"F5"].change p p lt [SHIFT+"F6"].change p p c [SHIFT+"F7"].area o l [SHIFT+"F8"].circle 2p [SHIFT+"F9"]'.filedia [SHIFT+"F11"]highlight 1 mirrtext 0 blipmode 1 pickbox 5 aperture 5 .redraw
The above utilizes the .prefix for command calls - this guarantees that this menu will call the command I want - not a command some one has 'redefined' or 'undefined'. Basically this makes this menu addition highly portable - a useful feature if you are a consultant or regular vistor to different work sites.
The above includes (2) lisp programs. AutoCAD BONUS lisp CHTEXT and a little 1990 program called HW (for Half-Way). HW.lsp is a sort of custom OSNAP mode: If you select it instead of, say, ENDP you will be prompted for a first point and a second point, and then a theoretical halfway point between the two will not only be calculated but returned to AutoCAD as the response for your point selection - just as CEN returns the center-point of a circle. In my 20 years of AutoCAD experience, this is probably the only lisp program I wouldn't want to work without.
Hope this helps you out.