• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. Odd behavior of bindkeys in virtuoso layout view

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 143
  • Views 2940
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Odd behavior of bindkeys in virtuoso layout view

matangk2
matangk2 11 months ago

Hi,

I have a super simple setup to for layer display and selection, which behaves... oddly.

Platform is IC6.1.8.500.29

the following bindkeys enable the addition of layer groups to the selectable layers in the Layers view. The bindkeys file is loaded upon startup from .cdsinit, and I can see all the bindkeys defined correctly when rightclick the Layers view->bindkeys->layout:

Test file content:

hiSetBindKey("Layout" "ShiftCtrl<Key>1" "leiMouseSetEntryLayer(308) leiMouseSetEntryLayer(340) leiMouseSetEntryLayer(78) leiMouseSetEntryLayer(67) leiMouseSetEntryLayer(71) hiRedraw()")
hiSetBindKey("Layout" "ShiftCtrl<Key>2" "leiMouseSetEntryLayer(309) leiMouseSetEntryLayer(341) leiMouseSetEntryLayer(85) leiMouseSetEntryLayer(78) leiMouseSetEntryLayer(81) hiRedraw()")
hiSetBindKey("Layout" "ShiftCtrl<Key>3" "leiMouseSetEntryLayer(310) leiMouseSetEntryLayer(342) leiMouseSetEntryLayer(92) leiMouseSetEntryLayer(85) leiMouseSetEntryLayer(88) hiRedraw()")
hiSetBindKey("Layout" "ShiftCtrl<Key>4" "leiMouseSetEntryLayer(311) leiMouseSetEntryLayer(343) leiMouseSetEntryLayer(99) leiMouseSetEntryLayer(92) leiMouseSetEntryLayer(95) hiRedraw()")
hiSetBindKey("Layout" "ShiftCtrl<Key>5" "leiMouseSetEntryLayer(312) leiMouseSetEntryLayer(344) leiMouseSetEntryLayer(106) leiMouseSetEntryLayer(99) leiMouseSetEntryLayer(102) hiRedraw()")
hiSetBindKey("Layout" "ShiftCtrl<Key>6" "leiMouseSetEntryLayer(313) leiMouseSetEntryLayer(345) leiMouseSetEntryLayer(113) leiMouseSetEntryLayer(106) leiMouseSetEntryLayer(109) hiRedraw()")
hiSetBindKey("Layout" "ShiftCtrl<Key>7" "leiMouseSetEntryLayer(314) leiMouseSetEntryLayer(346) leiMouseSetEntryLayer(120) leiMouseSetEntryLayer(113) leiMouseSetEntryLayer(116) hiRedraw()")
hiSetBindKey("Layout" "ShiftCtrl<Key>8" "leiMouseSetEntryLayer(315) leiMouseSetEntryLayer(347) leiMouseSetEntryLayer(127) leiMouseSetEntryLayer(120) leiMouseSetEntryLayer(123) hiRedraw()")
hiSetBindKey("Layout" "ShiftCtrl<Key>9" "leiMouseSetEntryLayer(316) leiMouseSetEntryLayer(348) leiMouseSetEntryLayer(174) leiMouseSetEntryLayer(127) leiMouseSetEntryLayer(130) hiRedraw()")
hiSetBindKey("Layout" "ShiftCtrl<Key>0" "leiMouseSetEntryLayer(329) leiMouseSetEntryLayer(159) leiMouseSetEntryLayer(174) leiMouseSetEntryLayer(153) hiRedraw()")

for some reason, the bindkeys for ShiftCtrl<key>9 and ShiftCtrl<key>0 are not responding. I know that these layer numbers are valid because if I define the bindkeys for "Ctrl" only, they work (but "Ctrl" option is already used for selectively viewing layer/via pairs).

I know that my bindkeys definition is brute-force and that there are better ways than hardcoding them, but it works, and I currently don't have the bandwidth to change it.

I can't figure out this behavior. Are those combinations already reserved for other operation?

 

Cheers,

Matan

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett 11 months ago

    I would suggest you go to Options→Bindkeys and then pick Layout, and try adding a new bindkey. With the bind key box select, try pressing Shft-Ctrl-9 etc - for me it shows as Ctrl<Key>( and Ctrl<Key>) - so try changing your bindkey definition to use that instead.

    There's an article on this somewhere (sorry, a bit busy to have time to search and find it).

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • matangk2
    matangk2 11 months ago in reply to Andrew Beckett

    Hi Andrew

    For Shft-Ctrl-9 the Ctrl<Key>(  did the trick. Thanks!

    But for some weird reason Shft-Ctrl-0 is not identified by the bind key box at all, so Ctrl<Key>) doesn't work. That's strange.

    I've settled for just <Key>) which is equivalent to shift-0, but i'd still appreciate knowing why this last bit didn't work.

    Thanks again,

    Matan

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • matangk2
    matangk2 11 months ago in reply to Andrew Beckett

    Hi Andrew

    For Shft-Ctrl-9 the Ctrl<Key>(  did the trick. Thanks!

    But for some weird reason Shft-Ctrl-0 is not identified by the bind key box at all, so Ctrl<Key>) doesn't work. That's strange.

    I've settled for just <Key>) which is equivalent to shift-0, but i'd still appreciate knowing why this last bit didn't work.

    Thanks again,

    Matan

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • Andrew Beckett
    Andrew Beckett 11 months ago in reply to matangk2

    Matan,

    No idea - it worked on my keyboard. Suggest you contact customer support...

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information