AutoCad自定义菜单
note:下载后,请将txt改为mnc,
然后在command窗口,输入:menu,将该文件导入即可!
1:自定义命令快捷键
如果你没有第三方的自定义命令快捷键的软件的话(其实也用不着的),那么AUTOCAD-SUPORT–ACAD.PGP就是你理想的选择了,你可以随意更改AUTOCAD里默认的快捷键,当然在改的同时要对每个快捷键都非常熟悉,免得改过了以后和已有的发生冲突的哦。
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, *DIMDISASSOCIATE
DDI, *DIMDIAMETER
DED, *DIMEDIT
DI, *DIST
DIV, *DIVIDE
DLI, *DIMLINEAR
DO, *DONUT
DOR, *DIMORDINATE
DOV, *DIMOVERRIDE
DR, *DRAWORDER
DRA, *DIMRADIUS
DRE, *DIMREASSOCIATE
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, *PROPERTIESCLOSE
PROPS, *PROPERTIES
PRE, *PREVIEW
PRINT, *PLOT
PS, *PSPACE
PTW, *PUBLISHTOWEB
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 are alternative aliases and aliases as supplied
; in AutoCAD Release 13.
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
2.定义AUTOCAD的菜单命令
是不是有同学对AUTOCAD的菜单不太满意呢,比如有好些菜单里面没有的命令如:ai_MESH 等等,或者是想加如快捷键(2002版本以后工具里面已经有此功能),或者想把自己写的LISP加入菜单激活,或者想把一些特别长的系统变量加入到菜单中进行控制的。。。,那么MNU就是非常好的东西唠,MUN住在:AUTOCAD\SUPORT\ACAD.MUN
--------------------
打开以后首先认识
***POP0 是当我们按下SHIFT出来的右键捕捉菜单了,你可以随意进行更改,只要自己喜欢,哼
***POP1 就是菜单的第一组了,也就是位于菜单中最左面的第一组
***POP2 当然就是第二组了,嘻嘻
通过这个你可以在菜单中加入
***POP11………….等等属于自己的菜单了:)
用**XXX加入自己菜单的注释例如:**FILE
真正的定义菜单就开始了
ID_MnFile 就是定义出现在CAD菜单上的文件名
比如 ID_MnFile [文件(&F)]
(&F)就是ALT键激活菜单的字母比如你想用键盘快速打开文件菜单的话,直接用ALT+F即可打开菜单了
后面的就是菜单里面的命令了,例如
ID_New [新建(&N)…\tCtrl+N]^C^C_new
^C^C_后面的就是要加入的CAD命令全名ID_就是命令的解释了
[–] 就是菜单里面的横断线了
如果你想要在菜单里面加入子菜单的话,就要这样了:
例如:
ID_MnDrawing [->图形实用程序(&U)]
ID_Audit [核查(&A)]^C^C_audit
ID_Recover [修复(&R)…]^C^C_recover
[–]
ID_BupdateA [更新块图标(&U)]^C^C_blockicon
[–]
ID_Purge [<-清理(&P)…]^C^C_purge
[->….]下面和包括[<-…….]的所有上面的菜单都是子菜单的内容了
在菜单里面还可以定义快捷键的哦
看看MUN下面的这个
ID_SelAll [CONTROL+"A"]
ID_Copyclip [TOOLBAR+CONTROL+"C"]
ID_New [TOOLBAR+CONTROL+"N"]
ID_Open [TOOLBAR+CONTROL+"O"]
ID_Print [TOOLBAR+CONTROL+"P"]
ID_Save [TOOLBAR+CONTROL+"S"]
ID_Pasteclip [TOOLBAR+CONTROL+"V"]
ID_Cutclip [TOOLBAR+CONTROL+"X"]
ID_Redo [CONTROL+"Y"]
ID_U [CONTROL+"Z"]
ID_Ai_propch [TOOLBAR+CONTROL+"1"]
ID_Content [TOOLBAR+CONTROL+"2"]
ID_dbConnect [CONTROL+"6"]
ID_VBARun [ALT+"F8"]
ID_VBAIDE [ALT+"F11"]
----------------------
对应POP的ID,可以在下面定义键盘快捷键
不过这里面定义的快捷键可是和菜单是生死鸳鸯的,如果POP里面没有定义的话,下面的快捷键也是不管用的哦,所以,要想在菜单里定义快捷键的话就必须定义在POP里面的哦