|
修改和定义命令别名 在前面的章节中已经了解到,许多常用的AutoCAD命令都具有别名。使用别名可以缩短命令长度,大大减少启动命令的时间,同时也方便记忆或满意个人习惯。AutoCAD命令的别名均可定义和保存,用户可以在该文件中为任何AutoCAD命令、设备驱动程序命令或外部命令定别名。 命令别名的定义格式为: 别名,*命令名 其中各项说明如下: (1) 别名:即在AutoCAD系统的命令行中输入的命令别名。 (2) 命令名:用于创建别名的命令名,必须前面加“*”作为标识。 例如,查询面积的命令“AREA”的别名为“AA”,定义格式: AA, *AREA 假如一个命令可以透明地输入,则其别名也可以透明地输入。当用户输入命令别名时,AutoCAD在命令提示中显示完整的命令名并执行该命令。 命令别名部分可包含带特别的“-”前缀,这使用户可以创建别名来访问某些命令的命令行形式。 注重 不能在命令脚本中使用命令别名,同时建议不要在菜单文件中使用命令别名。 下面列出在“ACAD.PGP”文件中所定义的全部命令别名: ;--Sample aliases for AutoCAD commands-- ;These examples include most frequently used commands. 3A, | *3DARRAY | 3DO, | *3DORBIT | 3F, | *3DFACE | 3P, | *3DPOLY | A, | *ARC | ADC, | *ADCENTER | AA, | *AREA | AL, | *ALIGN | AP, | *APPLOAD | AR, | *ARRAY | -AR, | *-ARRAY | ATT, | *ATTDEF | -ATT, | *-ATTDEF | ATE, | *ATTEDIT | -ATE, | *-ATTEDIT | ATTE, | *-ATTEDIT | B, | *BLOCK | -B, | *-BLOCK | BH, | *BHATCH | BO, | *BOUNDARY | -BO, | *-BOUNDARY | BR, | *BREAK | C, | *CIRCLE | CH, | *PROPERTIES | -CH, | *CHANGE | CHA, | *CHAMFER | COL, | *COLOR | COLOUR | *COLOR | CO, | *COPY | D, | *DIMSTYLE | DAL, | *DIMALIGNED | DAN, | *DIMANGULAR | DBA, | *DIMBASELINE | DBC, | *DBCONNECT | DCE, | *DIMCENTER | DCO, | *DIMCONTINUE | DDA, | *DIMDISASSO- CIATE | DDI, | *DIMDIAMETER | DED, | *DIMEDIT | DI, | *DIST | DIV, | *DIVIDE | DLI, | *DIMLINEAR | DO, | *DONUT | DOR, | *DIMORDINATE | DOV, | *DIMOVERRIDE | DR, | *DRAWORDER | DRA, | *DIMRADIUS | DRE, | *DIMREASSO- CIATE | DS, | *DSETTINGS | DST, | *DIMSTYLE | DT, | *DTEXT | DV, | *DVIEW | E, | *ERASE | ED, | *DDEDIT | EL, | *ELLIPSE | EX, | *EXTEND | EXIT, | *QUIT | EXP, | *EXPORT | EXT, | *EXTRUDE | F, | *FILLET | FI, | *FILTER | G, | *GROUP | -G, | *-GROUP | GR, | *DDGRIPS | H, | *BHATCH | -H, | *HATCH | HE, | *HATCHEDIT | HI, | *HIDE | I, | *INSERT | -I, | *-INSERT | IAD, | *IMAGEADJUST | IAT, | *IMAGEATTACH | ICL, | *IMAGECLIP | IM, | *IMAGE | -IM, | *-IMAGE | IMP, | *IMPORT | IN, | *INTERSECT | INF, | *INTERFERE | IO, | *INSERTOBJ | L, | *LINE | LA, | *LAYER | -LA, | *-LAYER | LE, | *QLEADER | LEN, | *LENGTHEN | LI, | *LIST | LINEWEIGHT | *LWEIGHT | LO, | *LAYOUT | LS, | *LIST | LT, | *LINETYPE | -LT, | *-LINETYPE | LTYPE, | *LINETYPE | -LTYPE | *-LINETYPE | LTS, | *LTSCALE | LW, | *LWEIGHT | M, | *MOVE | MA, | *MATCHPROP | ME, | *MEASURE | MI, | *MIRROR | ML, | *MLINE | MO, | *PROPERTIES | MS, | *MSPACE | MT, | *MTEXT | MV, | *MVIEW | O, | *OFFSET | OP, | *OPTIONS | ORBIT, | *3DORBIT | OS, | *OSNAP | -OS, | *-OSNAP | P, | *PAN | -P, | *-PAN | PA, | *PASTESPEC | PARTIALOPEN | *-PARTIALOPEN | PE, | *PEDIT | PL, | *PLINE | PO, | *POINT | POL, | *POLYGON | PR, | *OPTIONS | PRCLOSE | *PROPERTIE- SCLOSE | PROPS, | *PROPERTIES | PRE, | *PREVIEW | PRINT, | *PLOT | PS, | *PSPACE | PTW, | *PUBLISH- TOWEB | PU, | *PURGE | -PU, | *-PURGE | R, | *REDRAW | RA, | *REDRAWALL | RE, | *REGEN | REA, | *REGENALL | REC, | *RECTANGLE | REG, | *REGION | REN, | *RENAME | -REN, | *-RENAME | REV, | *REVOLVE | RM, | *DDRMODES | RO, | *ROTATE | RPR, | *RPREF | RR, | *RENDER | S, | *STRETCH | SC, | *SCALE | SCR, | *SCRIPT | SE, | *DSETTINGS | SEC, | *SECTION | SET, | *SETVAR | SHA, | *SHADE | SL, | *SLICE | SN, | *SNAP | SO, | *SOLID | SP, | *SPELL | SPL, | *SPLINE | SPE, | *SPLINEDIT | ST, | *STYLE | SU, | *SUBTRACT | T, | *MTEXT | -T, | *-MTEXT | TA, | *TABLET | TH, | *THICKNESS | TI, | *TILEMODE | TO, | *TOOLBAR | TOL, | *TOLERANCE | TOR, | *TORUS | TR, | *TRIM | UC, | *DDUCS | UCP, | *DDUCSP | UN, | *UNITS | -UN, | *-UNITS | UNI, | *UNION | V, | *VIEW | -V, | *-VIEW | VP, | *DDVPOINT | -VP, | *VPOINT | W, | *WBLOCK | -W, | *-WBLOCK | WE, | *WEDGE | X, | *EXPLODE | XA, | *XATTACH | XB, | *XBIND | -XB, | *-XBIND | XC, | *XCLIP | XL, | *XLINE | XR, | *XREF | -XR, | *-XREF | Z, | *ZOOM |
;The following area lnternative aliases and aliases as supplied ;in AutoCAD Release13. AV, | *DSVIEWER | CP, | *COPY | DIMALI, | *DIMALIGNED | DIMANG, | *DIMANGULAR | DIMBASE, | *DIMBASELINE | DIMCONT, | *DIMCONTINUE | DIMDIA, | *DIMDIAMETER | DIMED, | *DIMEDIT | DIMTED, | *DIMTEDIT | DIMLIN, | *DIMLINEAR | DIMORD, | *DIMORDINATE | DIMRAD, | *DIMRADIUS | DIMSTY, | *DIMSTYLE | DIMOVER, | *DIMOVERRIDE | LEAD, | *LEADER | TM, | *TILEMODE |
;Aliases for Hyperlink/URL Release14 compatibility SAVEURL | *SAVE | OPENURL | *OPEN | INSERTURL | *INSERT |
;Aliases for commands discontinued in AutoCAD2000: AAD | *DBCONNECT | AEX | *DBCONNECT | ALI | *DBCONNECT | ASQ | *DBCONNECT | ARO | *DBCONNECT | ASE | *DBCONNECT | DDATTDEF | *ATTDEF | DDATTEXT | *ATTEXT | DDCHPROP | *PROPERTIES | DDCOLOR | *COLOR | DDLMODES | *LAYER | DDLTYPE | *LINETYPE | DDMODIFY | *PROPERTIES | DDOSNAP | *OSNAP | DDUCS | *UCS |
返回类别: AuotoCAD教程 上一教程: 修改和定义外部命令 下一教程: 线型的定义和创建
您可以阅读与"修改和定义命令别名"相关的教程: · 修改和定义外部命令 · AutoCAD的自定义命令 · 巧用AutoCAD的CAL命令定义难捕获点 · autoCAD基本修改命令 · 三维修改命令
|