《自己用的CAD键盘设置》由会员分享,可在线阅读,更多相关《自己用的CAD键盘设置(10页珍藏版)》请在金锄头文库上搜索。
1、; ; ; Program Parameters File For AutoCAD 2006 ; External Command and Command Alias Definitions; Copyright (C) 1997-2005 by Autodesk, Inc. All Rights Reserved.; Each time you open a new or existing drawing, AutoCAD searches ; the support path and reads the first acad.pgp file that it finds.; - Exter
2、nal Commands - ; While AutoCAD is running, you can invoke other programs or utilities ; such Windows system commands, utilities, and applications. ; You define external commands by specifying a command name to be used ; from the AutoCAD command prompt and an executable command string ; that is passe
3、d to the operating system. ; - Command Aliases - ; The Command Aliases section of this file provides default settings for ; AutoCAD command shortcuts. Note: It is not recommended that you directly ; modify this section of the PGP file., as any changes you make to this section of the ; file will not
4、migrate successfully if you upgrade your AutoCAD to a ; newer version. Instead, make changes to the new ; User Defined Command Aliases ; section towards the end of this file.; - User Defined Command Aliases - ; You can abbreviate frequently used AutoCAD commands by defining ; aliases for them in the
5、 User Defined Command Aliases section of acad.pgp. ; You can create a command alias for any AutoCAD command, ; device driver command, or external command.; Recommendation: back up this file before editing it. To ensure that ; any changes you make to PGP settings can successfully be migrated ; when y
6、ou upgrade to the next version of AutoCAD, it is suggested that ; you make any changes to the default settings in the User Defined Command ; Aliases section at the end of this file.; External command format: ; ,*,; The bits of the bit flag have the following meanings: ; Bit 1: if set, dont wait for
7、the application to finish ; Bit 2: if set, run the application minimized; Bit 4: if set, run the application “hidden“ ; Bit 8: if set, put the argument string in quotes ; ; Fill the “bit flag“ field with the sum of the desired bits. ; Bits 2 and 4 are mutually exclusive; if both are specified, only
8、; the 2 bit is used. The most useful values are likely to be 0 ; (start the application and wait for it to finish), 1 (start the ; application and dont wait), 3 (minimize and dont wait), and 5 ; (hide and dont wait). Values of 2 and 4 should normally be avoided, ; as they make AutoCAD unavailable un
9、til the application has completed. ; ; Bit 8 allows commands like DEL to work properly with filenames that ; have spaces such as “long filename.dwg“. Note that this will interfere ; with passing space delimited lists of file names to these same commands. ; If you prefer multiplefile support to using
10、 long file names, turn off ; the “8“ bit in those commands.; Examples of external commands for command windowsCATALOG, DIR /W, 8,指定文件: , DEL, DEL, 8,要删除的文件: , DIR, DIR, 8,指定文件: , EDIT, START EDIT, 9,要编辑的文件: , SH, , 1,*操作系统命令: , SHELL, , 1,*操作系统命令: , START, START, 1,*要启动的应用程序: , TYPE, TYPE, 8,要列出的文件:
11、 ,; Examples of external commands for Windows ; See also the (STARTAPP) AutoLISP function for an alternative method.EXPLORER, START EXPLORER, 1, NOTEPAD, START NOTEPAD, 1,*要编辑的文件: , PBRUSH, START PBRUSH, 1,; Command alias format: ; ,*; The following are guidelines for creating new command aliases. ;
12、 1. An alias should reduce a command by at least two characters. ; Commands with a control key equivalent, status bar button, ; or function key do not require a command alias. ; Examples: Control N, O, P, and S for New, Open, Print, Save.; 2. Try the first character of the command, then try the firs
13、t two, ; then the first three. ; 3. Once an alias is defined, add suffixes for related aliases: ; Examples: R for Redraw, RA for Redrawall, L for Line, LT for ; Linetype. ; 4. Use a hyphen to differentiate between command line and dialog ; box commands. ; Example: B for Block, -B for -Block. ; ; Exc
14、eptions to the rules include AA for Area, T for Mtext, X for Explode.; - Sample aliases for AutoCAD commands - ; These examples include most frequently used commands. NOTE: It is recommended ; that you not make any changes to this section of the PGP file to ensure the ; proper migration of your cust
15、omizations when you upgrade to the next version of ; AutoCAD. The aliases listed in this section are repeated in the User Custom ; Settings section at the end of this file, which can safely be edited while ; ensuring your changes will successfully migrate.3A, *3DARRAY 3DO, *3DORBIT 3F, *3DFACE 3P, *3DPOLY A, *ARC AC, *BACTION ADC, *ADCENTER AA, *AREA AL, *ALIGN AP, *APPLOAD AR, *ARRAY -AR, *-ARRAY ATT, *