• 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. BindKey for "Area Selection Controls"

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 126
  • Views 1473
  • 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

BindKey for "Area Selection Controls"

Xegotronix
Xegotronix over 13 years ago
I am looking to assign bindkeys to switch between "Area Selection Modes" in Virtuoso. mode 1: Enclosed Figures + Vertex mode 2: Enclosed and Crossed Figures + Edge Only I know how to set bindkeys, but I do not know the skill functions to set the above options. Can anyone help me with this please? Many Thanks, Yaser
  • Cancel
  • Quek
    Quek over 13 years ago

    Hi Yaser

    You can use the following procedure. Pressing F10 will switch between the 2 modes.


    Best regards
    Quek

    procedure( CCSsetAreaSelection()
       let( (curWin curMode)
          curWin=hiGetCurrentWindow()
          curMode=curWin->fullSelectionMode
          case(curMode
             ("enclosed"
                curWin->fullSelectionMode="enclosedAndCrossed"
                curWin->partialSelectionMode="crossedEdge"
             )
             (t ;"enclosedAndCrossed"
                curWin->fullSelectionMode="enclosed"
                curWin->partialSelectionMode="Vertex"
             )
          ) ;case
       ) ;let
    ) ;procedure

    hiSetBindKey("Layout" "F10" "CCSsetAreaSelection()")

    selmode.il
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Xegotronix
    Xegotronix over 13 years ago
    Hi Quek, Thanks for the script. But it doesn't work! It causes error messages in icfb. I found geToggleAreaSelectOption() does what I want: hiSetBindKey("Layout" "F3" "geToggleAreaSelectOption()") Cheers, Yaser
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Arokia
    Arokia over 6 years ago in reply to Quek

    The above command works for me thanks

    • 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