• 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 Design
  3. How to unbind a key?

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 127
  • Views 14301
  • 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

How to unbind a key?

MOSFET
MOSFET over 15 years ago

I redefined the 'S' key to the geScroll command by adding the following line to my .cdsinit file:

 hiSetBindKey("Schematics" "<Key>S" "geScroll( nil \"s\" nil )")

 The new binding works fine when I am in Virtuoso and don't have anything selected, but once I copy an object and am moving the copied instance around to place it, my S key binding doesn't work anymore.  Instead, whenever I press 'S', I see the command "schSnapToConn()" appear in the CIW.

 I then clicked on Options->Show Bindkeys in the CIW and saw that the S key was bound to other functions.  How can I unbind the S key from the other functions so that it works exactly like the down arrow key does?  I searched through the documentation but couldn't find any unbind function.

  • Cancel
Parents
  • MOSFET
    MOSFET over 15 years ago

    vader said:

     When you are in a move command, you are in what we call an EnterFunction. So you need to define another bindkey that is specific for EnterFunction. We allow bindkeys to be set independently for EnterFunction.

     

    In this case, please also set:

      hiSetBindKey("Schematics" "<Key>S EF" "geScroll( nil \"s\" nil )")

     The extra EF tells the sytem you are setting a bindkey for EnterFunction.

     

    The default bindkey file you might have loaded is in $CDSHOME/tools/dfII/samples/local/schBindKeys.il . If you look into it, you can see that the EF version of "S" is set to schSnapToConn.

     

     

    Thanks, that worked perfectly.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • MOSFET
    MOSFET over 15 years ago

    vader said:

     When you are in a move command, you are in what we call an EnterFunction. So you need to define another bindkey that is specific for EnterFunction. We allow bindkeys to be set independently for EnterFunction.

     

    In this case, please also set:

      hiSetBindKey("Schematics" "<Key>S EF" "geScroll( nil \"s\" nil )")

     The extra EF tells the sytem you are setting a bindkey for EnterFunction.

     

    The default bindkey file you might have loaded is in $CDSHOME/tools/dfII/samples/local/schBindKeys.il . If you look into it, you can see that the EF version of "S" is set to schSnapToConn.

     

     

    Thanks, that worked perfectly.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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