+++++++++++++++++++++++++++++++++
6)PCB修改快捷键,并自定义工具栏
添加boardlayerset系统命令。
修改系统脚本,
在D:\Program Files\Altium\AD18\System下,找到advpcb.rcs文件,打开。
Tree MNPCB_LayerSets Caption='Manage Layer Se&ts' Popup='' EmptyAction=Hide/* add this */Link MNPCB_BoardLayerSets PLID='PLPCB:ManageLayerSets' EndLinkRepeat MNPCB_CurrentLayerSets Symbol1='%1' BeginIndex1=0 EndIndex1=20 PLID='PLPCB:CurrentLayerSets_%1' EndEnd
找到上述菜单定义,并修改为上述代码。
Link MNPCB_Design60 PLID='PLPCB:Classes' End
/* add this */
Link MNPCB_Design70 PLID='PLPCB:DesignOptions' End
找到上述菜单定义,并修改为上述代码。
添加自定义命令。
在menubar上,右键,customize,
然后在toolbar中,选择一个现有的toolbar,例如navigation,点击duplicate,就出现了一个复制的toolbar。对这个toolbar改名,例如改为lz。
在command界面中,找到自己感兴趣的命令,一顿操作。
再把之前所存在的不需要的命令,向custom中拖拽,就从lz中移除了。
例如:
component placement->arrange within rectangle
快捷键为i,拖拽到lz工具栏中。
move->move selection,
拖拽到lz工具栏中,
move->move selection by xy,
拖拽到lz工具栏中,
tools->cross probe,
拖拽到lz工具栏中,
deselect -> toggle selection
复制一个,修改caption,为TogSel,拖拽到lz工具栏中,
move->flip selection,
复制一个,修改caption,为FlipSel,拖拽到lz工具栏中,
move->rotate selection,
复制一个,修改caption,为Rotsel,拖拽到lz工具栏中,
component placement-> swap components,
复制一个,修改caption,为SwapComp,拖拽到lz工具栏中,
unroute->connection,
复制一个,修改caption,为UnConn,拖拽到lz工具栏中,
jump->component,
复制一个,修改caption,为JumpComp,拖拽到lz工具栏中,
edit->paste special,
复制一个,修改caption,为PasteS,拖拽到lz工具栏中,
polygon pour-> repour all,
复制一个,修改caption,为PourAll,拖拽到lz工具栏中,
tools->teardrops,
复制一个,修改caption,为Tear,拖拽到lz工具栏中,
PCB shortcut -> toggle single layer mode,
复制一个,修改caption,为Mono,拖拽到lz工具栏中,
snap grid -> 1mil,
拖拽到lz工具栏中,
Violations -> show all violations,
复制一个,修改caption,为Violat,拖拽到lz工具栏中,
component placement->arrange within rectangle
快捷键为i,
connection -> show net
快捷键为n,
connection -> hide net
快捷键为shift +n,
deselect -> toggle selection
快捷键为t,
edit->slice tracks,
快捷键为k,
jump->new location,
快捷键为j,
jump->component,
快捷键为shift+j,
move->move,
快捷键为m,
move->componet,
快捷键为shift+m,
move->drag track end,
快捷键为s,
route->interactive routing,
快捷键为w,
route->interactive multi routing,
快捷键为shift+w,
route->diffpair routing,
快捷键为ctrl+w,
unroute->connection,
快捷键为U,
place -> via,
快捷键为shift+y,
pcb shortcut->next layer,
快捷键为小键盘+,
pcb shortcut->previous layer,
快捷键为小键盘,
pcb shortcut->next signal layer,
快捷键为小键盘*,
pcb shortcut->previous signal layer,
快捷键为小键盘/,
polygon action-> repour selected,
快捷键为shift+P,
polygon action-> slice polygon pour,
快捷键为shift+K,
polygon action->combined selected polygon,
快捷键为shift+B,
polygons -> polygon pour cutout,
快捷键为shift+T,
select->select overlapped,
快捷键为shitft+tab,第二快捷键为o。
select->touching line,
快捷键为h。
+++++++++++++++++++++++++++++
10)PCB自定义菜单
在menubar上,右键,customize, 可以自定义需要的菜单。
最根本的解决方法,是改系统脚本。
D:\Program Files\Altium\AD18\System,文件夹下的advpcb.rcs,
//..........................................................................//********* Top Level Help Menu//..........................................................................Tree MNPCB_Help10 Caption='Help' Link MNPCB_Help20 PLID='PLClient:HelpNewInProduct' End Link MNPCB_Help20 PLID='PLClient:HelpExploringProduct' End Link MNPCB_Help76 PLID='PLClient:HelpLicensing' End // do not change the ID, see PCBW#731Link MNPCB_Help40 PLID='PLClient:HelpShortcutKeys' EndSeparator MNPCB_Help50 EndLink MNPCB_Help60 PLID='PLClient:UserForums' EndSeparator MNPCB_Help70 EndLink MNPCB_Help90 PLID='PLClient:HelpAbout' EndEnd/* add these*/Tree MNPCB_AdvSelect10 Caption='AdvSelect' Link MNPCB_AdvSelect20 PLID='PLPCB:SelectLasso' End Link MNPCB_AdvSelect21 PLID='PLPCB:SelectInsideArea' End Link MNPCB_AdvSelect22 PLID='PLPCB:SelectTouchingRectangle' EndLink MNPCB_AdvSelect23 PLID='PLPCB:SelectTouchingLine' End Separator MNPCB_AdvSelect250 End Link MNPCB_AdvSelect30 PLID='PLPCB:DeSelectLasso' End Link MNPCB_AdvSelect31 PLID='PLPCB:DeSelectInsideArea' End Link MNPCB_AdvSelect32 PLID='PLPCB:DeSelectTouchingRectangle' EndLink MNPCB_AdvSelect33 PLID='PLPCB:DeSelectTouchingLine' End Separator MNPCB_AdvSelect350 End EndTree MNPCB_AdvAlign10 Caption='AdvAlign' Link MNPCB_AdvAlign20 PLID='PLPCB:AlignComponentsDialog' End Separator MNPCB_AdvAlign250 End Link MNPCB_AdvAlign30 PLID='PLPCB:AlignComponentsLeft' End Link MNPCB_AdvAlign31 PLID='PLPCB:AlignComponentsRight' End Link MNPCB_AdvAlign32 PLID='PLPCB:AlignComponentsCenterHorizontal' End Link MNPCB_AdvAlign33 PLID='PLPCB:AlignComponentsSpreadHorizontal' End Separator MNPCB_AdvAlign350 End Link MNPCB_AdvAlign40 PLID='PLPCB:AlignComponentsTop' End Link MNPCB_AdvAlign41 PLID='PLPCB:AlignComponentsBottom' End Link MNPCB_AdvAlign42 PLID='PLPCB:AlignComponentsCenterVertical' End Link MNPCB_AdvAlign43 PLID='PLPCB:AlignComponentsSpreadVertical' End Separator MNPCB_AdvAlign350 End EndTree MNPCB_AdvMeasure10 Caption='AdvMeasure' Link MNPCB_AdvMeasure23 PLID='PLPCB:MeasureDistance' End Separator MNPCB_AdvSelect250 End Link MNPCB_AdvMeasure22 PLID='PLPCB:MeasurePrimitives' End Separator MNPCB_AdvSelect350 End Link MNPCB_AdvMeasure20 PLID='PLPCB:MeasureSelectedObjects' End Separator MNPCB_AdvSelect450 End End