Cadence ic6 schBindKeys.il 設定修改

主要是因為習慣用shift z 可以zoom out,可是預設的schematic BindKey 卻不是這樣的功能
順便把 Ctrl z 也改成可以zoom out
所以要修改schBindKeys.il

;==============================================================================
;
; Sample BindKeys for Composer Schematics and Symbols
;
; Note that the files /share/cdssetup/dfII/bindkeys/Schematics.il
; and Symbol.il are automatically loaded and have the same definitions as given
; here
;
;==============================================================================
;
when( isCallable('schGetEnv)
;******************************************************************************
; Schematics.il - Copyright (C) 1997-2010 Cadence Design Systems, Inc.
;                       All Rights Reserved.
;
; Define the default bind keys for use in Composer as follows:
;     Schematic editor - prefix "Schematics"
;     Read HDL         - prefix "Read HDL" (only if SKILL context loaded)
;
; $Revision: #4 $
; $Date: 2010/02/10 $
;******************************************************************************

; a-z
hiSetBindKey("Schematics" "a"               "geSingleSelectPoint()")
hiSetBindKey("Schematics" "Shifta"          "schSingleSelectBox()")
hiSetBindKey("Schematics" "Ctrla"           "schSelectAllFig()")

hiSetBindKey("Schematics" "b"               "schHiCreateBlockInst()")

hiSetBindKey("Schematics" "c"               "schHiCopy()")

hiSetBindKey("Schematics" "d"               "geSubSelectPoint()")
hiSetBindKey("Schematics" "Shiftd"          "schSubSelectBox()")
hiSetBindKey("Schematics" "Ctrld"           "schDeselectAllFig()")

hiSetBindKey("Schematics" "e"               "schHiDescendRead()")
hiSetBindKey("Schematics" "Shifte"          "schHiDescendEdit()")
hiSetBindKey("Schematics" "Ctrle"           "schHiReturn()")
hiSetBindKey("Schematics" "Ctrle"           "schHiReturn()")
hiSetBindKey("Schematics" "ShiftT"          "schHiTree()")

hiSetBindKey("Schematics" "f"               "schZoomFit(1.0 0.9)")
hiSetBindKey("Schematics" "Shiftf"          "hiZoomAbsoluteScale(getCurrentWindow() 0.9)")
hiSetBindKey("Schematics" "Ctrlf"           "schSetSelectOptions()")

hiSetBindKey("Schematics" "g"               "schHiFindMarker()")
hiSetBindKey("Schematics" "Shiftg"          "schHiFindMarker()")
hiSetBindKey("Schematics" "Ctrlg"           "geHiDeleteMarker()")

hiSetBindKey("Schematics" "h"               "schHiHiliteLabel(\"wire\" \"on\")")
hiSetBindKey("Schematics" "Shifth"          "schHiHiliteLabel(\"wire\" \"off\")")

hiSetBindKey("Schematics" "i"               "schHiCreateInst()")

when( isCallable('schGetEnv) && schGetEnv("enableKanjiNotes")
   hiSetBindKey("Schematics" "Shiftk"        "schHiCreateKanjiSymbol()")
)

hiSetBindKey("Schematics" "l"               "schHiCreateWireLabel()")
hiSetBindKey("Schematics" "Shiftl"          "schHiCreateNoteLabel()")

hiSetBindKey("Schematics" "m"               "schHiStretch()")
hiSetBindKey("Schematics" "Shiftm"          "schHiMove()")

hiSetBindKey("Schematics" "n"               "schHiCreateNoteShape()")
hiSetBindKey("Schematics" "Shiftn"          "schHiCreateNoteLabel()")

hiSetBindKey("Schematics" "o"               "schHiDisplayOptions()")
hiSetBindKey("Schematics" "Shifto"          "schHiEditorOptions()")

hiSetBindKey("Schematics" "p"               "schHiCreatePin()")

hiSetBindKey("Schematics" "q"               "schHiObjectProperty()")
hiSetBindKey("Schematics" "Shiftq"          "schHiCellViewProperty()")
hiSetBindKey("Schematics" "q EF"            "schHiObjectProperty()")
hiSetBindKey("Schematics" "Shiftq EF"       "schHiCellViewProperty()")

hiSetBindKey("Schematics" "r"               "schHiRotate(t)")
hiSetBindKey("Schematics" "r EF"            "schSetEnv(\"rotate\" t)")
hiSetBindKey("Schematics" "Shiftr EF"       "schSetEnv(\"sideways\" t)")
hiSetBindKey("Schematics" "Ctrlr EF"        "schSetEnv(\"upsideDown\" t)")

hiSetBindKey("Schematics" "Shifts"          "_schHiSave()")
hiSetBindKey("Schematics" "Ctrls"           "_schHiSaveAs()")
hiSetBindKey("Schematics" "s EF"            "schSnapToConn()")

hiSetBindKey("Schematics" "t"             "schHiEditText()")
hiSetBindKey("Schematics" "Ctrlt"           "schHiZoomToSelSet()")

hiSetBindKey("Schematics" "u"               "hiUndo()")
hiSetBindKey("Schematics" "Shiftu"          "hiRedo()")

hiSetBindKey("Schematics" "v"               "hiVectorPan()")
hiSetBindKey("Schematics" "Shiftv"          "_deToggleAssistant(\"World View\")")
hiSetBindKey("Schematics" "Ctrlv"           "hiFocusToCIW(hiGetCurrentWindow())")

hiSetBindKey("Schematics" "w"               "schHiCreateWire(0.0)")
hiSetBindKey("Schematics" "Shiftw"          "schHiCreateWire(schGetEnv(\"defWideWireWidth\"))")
hiSetBindKey("Schematics" "space"           "schHiCreateWireStubs()")

hiSetBindKey("Schematics" "x"               "schHiCheck(\"run\")")
hiSetBindKey("Schematics" "Shiftx"          "schHiCheckAndSave()")

hiSetBindKey("Schematics" "z"               "hiZoomIn()")
hiSetBindKey("Schematics" "Shiftz"          "hiZoomRelativeScale(hiGetCurrentWindow() 0.5)")
hiSetBindKey("Schematics" "Ctrlz"           "hiZoomRelativeScale(hiGetCurrentWindow() 0.5)")
hiSetBindKey("Schematics" "Ctrl Shiftz"     "hiNextWinView(hiGetCurrentWindow())")

; numerals 0-9
hiSetBindKey("Schematics" "5"               "schHiRouteFlightLine()")
hiSetBindKey("Schematics" "8"               "schHiHiliteLabel(\"instance\" \"on\")")
hiSetBindKey("Schematics" "Shift8"          "schHiHiliteLabel(\"instance\" \"off\")")
hiSetBindKey("Schematics" "9"               "geEnterAddNetProbe()")

; other characters
hiSetBindKey("Schematics" "="               "schHiOpenSymbolOrSchematicView(geGetEditCellView() hiGetCurrentWindow())")
hiSetBindKey("Schematics" "["               "hiZoomRelativeScale(getCurrentWindow() 0.8)")
hiSetBindKey("Schematics" "]"               "hiZoomRelativeScale(getCurrentWindow() 1.25)")
hiSetBindKey("Schematics" "."               "hiToggleMagnifier()")
hiSetBindKey("Schematics" "#"               "hiToggleAnchorMagnifier()")
hiSetBindKey("Schematics" "'"               "hiUpdateMagOptions()")

; mouse buttons
hiSetBindKey("Schematics" "None"       "schSingleSelectPt()")
hiSetBindKey("Schematics" "Shift"      "schAddSelectPt()")
hiSetBindKey("Schematics" "None(2) EF" "schMouseApplyOrFinish()")
hiSetBindKey("Schematics" "Shift(2)"   "schExtendSelectPt()")

hiSetBindKey("Schematics" "None EF"    "schCmdOption()")
hiSetBindKey("Schematics" "Shift EF"   "schShiftCmdOption()")

hiSetBindKey("Schematics" "None"       "schHiMousePopUp()")
hiSetBindKey("Schematics" "None EF"    "schHiMousePopUp()")

hiSetBindKey("Schematics" "None"       "hiZoomInAtMouse()")
hiSetBindKey("Schematics" "None"       "hiZoomOutAtMouse()")
hiSetBindKey("Schematics" "Shift"      "geScroll(nil \"w\" nil)")
hiSetBindKey("Schematics" "Shift"      "geScroll(nil \"e\" nil)")
hiSetBindKey("Schematics" "Ctrl"       "geScroll(nil \"n\" nil)")
hiSetBindKey("Schematics" "Ctrl"       "geScroll(nil \"s\" nil)")

hiSetBindKey("Schematics" "Ctrl Shift" "hiZoomInMagnifier(hiGetCurrentWindow())")
hiSetBindKey("Schematics" "Ctrl Shift" "hiZoomOutMagnifier(hiGetCurrentWindow())")
hiSetBindKey("Schematics" "Ctrl Shift" "_schScaleMagnifier(1.25)")
hiSetBindKey("Schematics" "Ctrl Shift" "_schScaleMagnifier(0.80)")

; drag mouse buttons
hiSetBindKey("Schematics" ""          "schDirectEdit(1)")
hiSetBindKey("Schematics" "Shift"     "schDirectEdit(2)")
hiSetBindKey("Schematics" "Ctrl"      "schDirectEdit(3)")

hiSetBindKey("Schematics" ""          "hiDynamicPanGrabbing()")
hiSetBindKey("Schematics" "EF"        "hiDynamicPanGrabbing()")

; delete/backspace
hiSetBindKey("Schematics" "BackSpace"       "schHiDelete()")
hiSetBindKey("Schematics" "Delete"          "schHiDelete()")

; arrow keys
hiSetBindKey("Schematics" "Down"            "geScroll(nil \"s\" nil)")
hiSetBindKey("Schematics" "Left"            "geScroll(nil \"w\" nil)")
hiSetBindKey("Schematics" "Right"           "geScroll(nil \"e\" nil)")
hiSetBindKey("Schematics" "Up"              "geScroll(nil \"n\" nil)")
hiSetBindKey("Schematics" "Ctrl ShiftUp"    "hiScaleMagnifier(1.25)")
hiSetBindKey("Schematics" "Ctrl ShiftDown"  "hiScaleMagnifier(0.80)")

; fn keys
hiSetBindKey("Schematics" "F6"              "hiRedraw()")

hiSetBindKey("Schematics" "F11"             "deToggleAssistants()")
hiSetBindKey("Schematics" "ShiftF11"        "deToggleAssistants() deToggleToolbars()")
hiSetBindKey("Schematics" "CtrlF11"         "deToggleToolbars()")

when( isCallable('schHDLReturn)
        ; General bindkeys (prefix "Read HDL").
        ;
        hiSetBindKey("Read HDL" "Ctrls"    "hiSaveAsViewfile()")
        hiSetBindKey("Read HDL" "Ctrle"    "schHDLReturn()")
)
;******************************************************************************
; Symbol.il - Copyright (C) 1997-2010 Cadence Design Systems, Inc.
;                       All Rights Reserved.
;
; Define the default bind keys for use in Composer Symbol editor
;
; $Revision: #4 $
; $Date: 2010/02/10 $
;******************************************************************************

; a-z
hiSetBindKey("Symbol" "a"           "geSingleSelectPoint()")
hiSetBindKey("Symbol" "Ctrla"       "schSelectAllFig()")
hiSetBindKey("Symbol" "Shifta"      "schSingleSelectBox()")
hiSetBindKey("Symbol" "c"           "schHiCopy()")
hiSetBindKey("Symbol" "d"           "geSubSelectPoint()")
hiSetBindKey("Symbol" "Ctrld"       "schDeselectAllFig()")
hiSetBindKey("Symbol" "Shiftd"      "schSubSelectBox()")
hiSetBindKey("Symbol" "Ctrle"       "schHiReturn()")
hiSetBindKey("Symbol" "f"           "schZoomFit(1.0 0.9)")
hiSetBindKey("Symbol" "Ctrlf"       "schSetSelectOptions()")
hiSetBindKey("Symbol" "Shiftf"      "hiZoomAbsoluteScale(getCurrentWindow() 0.9)")
hiSetBindKey("Symbol" "g"           "schHiFindMarker()")
hiSetBindKey("Symbol" "Ctrlg"       "geHiDeleteMarker()")
hiSetBindKey("Symbol" "Shiftg"      "schHiFindMarker()")
when( isCallable('schGetEnv) && schGetEnv("enableKanjiNotes")
        hiSetBindKey("Symbol" "Shiftk"     "schHiCreateKanjiSymbol()")
)
hiSetBindKey("Symbol" "l"           "schHiCreateSymbolLabel()")
hiSetBindKey("Symbol" "Shiftl"      "schHiCreateNoteLabel()")
hiSetBindKey("Symbol" "m"           "schHiSymStretch()")
hiSetBindKey("Symbol" "Shiftm"      "schHiMove()")
hiSetBindKey("Symbol" "n"           "schHiCreateNoteShape()")
hiSetBindKey("Symbol" "Shiftn"      "schHiCreateNoteLabel()")
hiSetBindKey("Symbol" "o"           "schHiDisplayOptions()")
hiSetBindKey("Symbol" "Shifto"      "schHiEditorOptions()")
hiSetBindKey("Symbol" "p"           "schHiCreateSymbolPin()")
hiSetBindKey("Symbol" "q EF"        "schHiObjectProperty()")
hiSetBindKey("Symbol" "q"           "schHiObjectProperty()")
hiSetBindKey("Symbol" "Shiftq"      "schHiCellViewProperty()")
hiSetBindKey("Symbol" "Shiftq EF"   "schHiCellViewProperty()")
hiSetBindKey("Symbol" "r"           "schHiRotate(t)")
hiSetBindKey("Symbol" "r EF"        "schSetEnv(\"rotate\" t)")
hiSetBindKey("Symbol" "Shiftr EF"   "schSetEnv(\"sideways\" t)")
hiSetBindKey("Symbol" "Ctrlr EF"    "schSetEnv(\"upsideDown\" t)")
hiSetBindKey("Symbol" "Ctrls"       "_schHiSaveAs()")
hiSetBindKey("Symbol" "Shifts"      "_schHiSave()")
hiSetBindKey("Symbol" "t"           "schHiEditText()");
hiSetBindKey("Symbol" "Ctrlt"       "schHiZoomToSelSet()")
hiSetBindKey("Symbol" "u"           "hiUndo()")
hiSetBindKey("Symbol" "Shiftu"      "hiRedo()")
hiSetBindKey("Symbol" "v"           "hiVectorPan()")
hiSetBindKey("Symbol" "Ctrlv"       "hiFocusToCIW(hiGetCurrentWindow())")
hiSetBindKey("Symbol" "Shiftv"      "_deToggleAssistant(\"World View\")")
hiSetBindKey("Symbol" "x"           "schHiVIC()")
hiSetBindKey("Symbol" "Shiftx"      "schHiVICAndSave()")
hiSetBindKey("Symbol" "z"           "hiZoomIn()")
hiSetBindKey("Symbol" "Ctrlz"       "hiZoomRelativeScale(hiGetCurrentWindow() 0.5)")
hiSetBindKey("Symbol" "Ctrl Shiftz" "hiNextWinView(hiGetCurrentWindow())")
hiSetBindKey("Symbol" "Shiftz"      "hiZoomRelativeScale(hiGetCurrentWindow() 0.5)")

; numerals 0-9
hiSetBindKey("Symbol" "9" "geEnterAddNetProbe()")

; other characters
hiSetBindKey("Symbol" "=" "schHiOpenSymbolOrSchematicView(geGetEditCellView() hiGetCurrentWindow())")
hiSetBindKey("Symbol" "[" "hiZoomRelativeScale(getCurrentWindow() 0.8)")
hiSetBindKey("Symbol" "]" "hiZoomRelativeScale(getCurrentWindow() 1.25)")
hiSetBindKey("Symbol" "." "hiToggleMagnifier()")
hiSetBindKey("Symbol" "#" "hiToggleAnchorMagnifier()")
hiSetBindKey("Symbol" "'" "hiUpdateMagOptions()")

; mouse buttons
hiSetBindKey("Symbol" "None(2) EF" "schMouseApplyOrFinish()")
hiSetBindKey("Symbol" "NoneEF"     "schCmdOption()")
hiSetBindKey("Symbol" "None EF"    "schHiMousePopUp()")
hiSetBindKey("Symbol" "None"       "schHiMousePopUp()")
hiSetBindKey("Symbol" "Shift EF"   "schShiftCmdOption()")

hiSetBindKey("Symbol" "None"       "hiZoomInAtMouse()")
hiSetBindKey("Symbol" "None"       "hiZoomOutAtMouse()")
hiSetBindKey("Symbol" "Shift"      "geScroll(nil \"w\" nil)")
hiSetBindKey("Symbol" "Shift"      "geScroll(nil \"e\" nil)")
hiSetBindKey("Symbol" "Ctrl"       "geScroll(nil \"n\" nil)")
hiSetBindKey("Symbol" "Ctrl"       "geScroll(nil \"s\" nil)")

hiSetBindKey("Symbol" "Ctrl Shift" "hiZoomInMagnifier(hiGetCurrentWindow())")
hiSetBindKey("Symbol" "Ctrl Shift" "hiZoomOutMagnifier(hiGetCurrentWindow())")
hiSetBindKey("Symbol" "Ctrl Shift" "hiScaleMagnifier(1.25)")
hiSetBindKey("Symbol" "Ctrl Shift" "hiScaleMagnifier(0.80)")

; drag mouse buttons
hiSetBindKey("Symbol" ""      "schDirectEdit(1)")
hiSetBindKey("Symbol" "Ctrl"  "schDirectEdit(3)")
hiSetBindKey("Symbol" "Shift" "schDirectEdit(2)")

hiSetBindKey("Symbol" ""      "hiDynamicPanGrabbing()")
hiSetBindKey("Symbol" "EF"    "hiDynamicPanGrabbing()")

; delete/backspace
hiSetBindKey("Symbol" "BackSpace" "schHiDelete()")
hiSetBindKey("Symbol" "Delete"    "schHiDelete()")

; arrow keys
hiSetBindKey("Symbol" "Down"           "geScroll(nil \"s\" nil)")
hiSetBindKey("Symbol" "Left"           "geScroll(nil \"w\" nil)")
hiSetBindKey("Symbol" "Right"          "geScroll(nil \"e\" nil)")
hiSetBindKey("Symbol" "Up"             "geScroll(nil \"n\" nil)")
hiSetBindKey("Symbol" "Ctrl ShiftUp"   "_schScaleMagnifier(1.25)")
hiSetBindKey("Symbol" "Ctrl ShiftDown" "_schScaleMagnifier(0.80)")

; fn keys
hiSetBindKey("Symbol" "F6"       "hiRedraw()")
hiSetBindKey("Symbol" "F11"      "deToggleAssistants()")
hiSetBindKey("Symbol" "ShiftF11" "deToggleAssistants() deToggleToolbars()")
hiSetBindKey("Symbol" "CtrlF11"  "deToggleToolbars()")
)

IMGP6775_1

上一篇 Cadence ic5 schBindKeys.il 設定修改
下一篇 Nginx 504 Gateway Time-out 錯誤解決方法