1、以下内容一致到结束 ,就是 CAD 快捷 键自定义 的程序文 件ACAD.PGP 中的程序内容,用以下内容覆盖原 ACAD.PGP 程序内容后,即可!AutoCAD Program Parameters File For AutoCAD 2004External Command and Command Alias DefinitionsCopyright (C) 1997-2002 by Autodesk, Inc.Each time you open a new or existing drawing, AutoCAD searches the support path and reads
2、the first acad.pgp file that it finds.- External 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 execut
3、able command string that is passed to the operating system.- Command Aliases -You can abbreviate frequently used AutoCAD commands by defining aliases for them in the command alias section of acad.pgp.You can create a command alias for any AutoCAD command, device driver command, or external command.R
4、ecommendation: back up this file before editing it.External command format:,*,The bits of the bit flag have the following meanings:Bit 1: if set, dont wait for the application to finishBit 2: if set, run the application minimizedBit 4: if set, run the application hiddenBit 8: if set, put the argumen
5、t string in quotesFill the bit flag field with the sum of the desired bits.Bits 2 and 4 are mutually exclusive; if both are specified, only 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 (mini
6、mize and dont wait), and 5 (hide and dont wait). Values of 2 and 4 should normally be avoided,as they make AutoCAD unavailable until 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
7、with passing space delimited lists of file names to these same commands. If you prefer multiplefile support to using long file names, turn off the 8 bit in those commands.Examples of external commands for command windowsCATALOG,DIR /W,8,指定文件 : ,DEL,8,要删除的文件 :DIR,EDIT,START EDIT,9,要编辑的文件 :SH,J1,* 操作系
8、统命令 :SHELL,1,*操作系统命令 :START,1,*要启动的应用程序TYPE,8,要列出的文件 :; 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 guid
9、elines for creating new command aliases. 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
10、of the command, then try the first two, then the first three. 3. Once an alias is defined, add suffixes for related aliases: 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 -Blo
11、ck. Exceptions 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.3A,*3DARRAY3DO,3F,3P,*3DORBIT *3DFACE *3DPOL YAS, ADC,AA,AL,AP,AR, -AR,*ARC*ADCENTER *AREA *ALIGN *APPLOAD *ARRAY *-ARRAYATT, -ATT,
12、ATE,*ATTDEF *-ATTDEF *ATTEDIT-ATE, ATTE, B, -B, BH, BO, -BO,*-ATTEDIT*BLOCK*-BLOCK*BHATCH*BOUNDARY *-BOUNDARYBR,C,CH,*BREAK*CIRCLE*PROPERTIES-CH,*CHANGES, *CHAMFERCHK,COL,COLOUR,*CHECKSTANDARDS*COLORA,CP,*COPYD,DAL,DAN,DBA,DBC,DC,DCN,*DIMSTYLE*DIMALIGNED *DIMANGULAR *DIMBASELINE *DBCONNECT *ADCENTER
13、*DIMCENTERDCENTER,*ADCENTERDCO,*DIMCONTINUEDDA,*DIMDISASSOCIATEY,*DIMDIAMETERDED,*DIMEDITDI,*DISTDIV,*DIVIDEDLI,*DIMLINEARDO,*DONUTDOR,*DIMORDINATEDOV,*DIMOVERRIDEDR,*DRAWORDERH,*DIMRADIUSDRE,*DIMREASSOCIATEDS,*DSETTINGSDST,DT,*TEXTDV,*DVIEWEE,*ERASEED,*DDEDITEL,*ELLIPSEEX,*EXTENDEXIT,*QUITEXP,*EXPO
14、RTEXT,*EXTRUDEF,*FILLETFI,*FILTERG,*GROUP-G,*-GROUPGR,*DDGRIPS-H,*HATCHHE,*HATCHEDITHI,*HIDEI,*INSERT-I,*-INSERTIAD,*IMAGEADJUSTIAT,*IMAGEATTACHICL,*IMAGECLIPIM,*IMAGE-IM,*-IMAGEIMP,*IMPORTIN,*INTERSECTINF,*INTERFEREIO,*INSERTOBJQ,*LINELA,*LAYER-LA,*-LAYERLE,*QLEADERLEN,*LENGTHENLI,*LISTLINEWEIGHT,
15、*LWEIGHTLO,*-LAYOUTLS,LT,*LINETYPE-LT,*-LINETYPELTYPE,-LTYPE,LTS,*LTSCALELW,*LWEIGHT*MOVEE,*MATCHPROPME,*MEASUREMI,*MIRRORML,*MLINEMO,MS,*MSPACEMT,*MTEXTMV,*MVIEWO,*OFFSETOP,*OPTIONSORBIT,*3DORBITOS,*OSNAP-OS,*-OSNAPP,*PAN-P,*-PANPA,*PASTESPECPARTIALOPEN, *-PARTIALOPENPE,*PEDITPL,*PLINEPO,*POINTPOL,
16、*POL YGONPR,PRCLOSE,*PROPERTIESCLOSEPROPS,PRE,*PREVIEWPRINT,*PLOTPS,*PSPACEPTW,*PUBLISHTOWEBPU,*PURGE-PU,*-PURGER,*REDRAWRA,*REDRAW ALLRE,*REGENREA,*REGENALLRa,*RECTANGREG,*REGIONREN,*RENAME-REN,*-RENAMEREV,*REVOLVE*ROTA TERPR,*RPREFRR,*RENDERSS,*STRETCHSC,*SCALESCR,*SCRIPTSE,SEC,*SECTIONSET,*SETV A
17、RSHA,*SHADEMODESL,*SLICESN,*SNAPSO,*SOLIDSP,*SPELLSPL,*SPLINESPE,*SPLINEDITST,*STYLESTA,*STANDARDSSU,*SUBTRACTT,-T,*-MTEXTTA,*TABLETTH,*THICKNESSTI,*TILEMODETO,*TOOLBARTOL,*TOLERANCETOR,*TORUSTP,*TOOLPALETTETR,*TRIMUC,*UCSMANUN,*UNITS-UN,*-UNITSUNI,*UNIONV,*VIEW-V,*-VIEWVP,*DDVPOINT-VP,*VPOINTW,*WBL
18、OCK-W,*-WBLOCKWE,*WEDGEX,*EXPLODEXA,*XATTACHXB,*XBIND-XB,*-XBINDXC,*XCLIPQQ,*XLINEXR,*XREF-XR,*-XREFZ,*ZOOM The following are alternative aliases and aliases as supplied ; in AutoCAD Release 13.AV,*DSVIEWERDIMALI,*DIMALIGNEDDIMANG ,*DIMANGULARDIMBASE,*DIMBASELINEDIMCONT,DIMDIA,DIMED,DIMTED,*DIMTEDIT
19、DIMLIN,DIMORD,*DIMORDINA TEDIMRAD,DIMSTY,DIMOVER,LEAD,*LEADERTM, Aliases for Hyperlink/URL Release 14 compatibility SAVEURL, *SAVEOPENURL, *OPENINSERTURL, *INSERT ; Aliases for commands discontinued in AutoCAD 2000: AAD, *DBCONNECTAEX, ALI,ASQ, ARO,ASE,DDATTDEF, DDATTEXT, DDCHPROP, DDCOLOR, DDLMODES
20、, DDLTYPE, DDMODIFY, DDOSNAP,*DBCONNECT*ATTDEF*ATTEXT*LAYER *LINETYPE *PROPERTIES *OSNAPDDUCS, *UCS ; Aliases for commands discontinued in AutoCAD 2004:ACADBLOCKDIALOG , *BLOCKACADWBLOCKDIALOGADCENTER,BMAKE,BMOD,BPOLY, CONTENT, DDATTE,DDIM, DDINSERT, DDPLOTSTAMP, DDRMODES, DDSTYLE, DDUCS, DDUCSP, DD
21、UNITS, DDVIEW, DIMHORIZONTAL, DIMROTATED, DIMVERTICAL, DOUGHNUT, DTEXT, DWFOUT, DXFIN, DXFOUT, PAINTER, PREFERENCES, RECTANGLE,*ADCENTER *BLOCK*BLOCK *BOUNDARY *ADCENTER*ATTEDIT*INSERT *PLOTSTAMP *DSETTINGS *STYLE *UCSMAN*DIMLINEAR *DIMLINEAR *DONUT *TEXT*OPEN*SAVEAS *MATCHPROP *OPTIONSSHADE,VIEWPORTS,*VPORTS
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1