• 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. Bindkey to set various Schematic selection filter

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 143
  • Views 4140
  • 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 to set various Schematic selection filter

Jismal Jamal
Jismal Jamal over 1 year ago

Hello I am currently trying to set a bindkey in Schematic Selection Filter. There was a reply in Cadence support Need bindkeys to toggle on/off selectability/visibility of various objects in the Schematic Selection Filter (cadence.com) but the problem with the approach is it doesn't have User Interface consistency. The Bindkey assignment doesn't reflect the change in Ui since the bindkey assignment use "schSchSelectForm". I am trying a different approach to set the bindkey using a code snippet

"swindow(59)->hiToolbars->schSelectToolbar_59->default->checked=t" (59 being my session Window ID)

Found that in this way the Ui is consistent, but I cannot figure a way to convert this code snippet independent of session ID. What I come up with is

"hiGetSessionWindow(hiGetCurrentWindow())->hiToolbars->schSelectToolbar_59->text->checked=t"

But I don't know to replace "schSelectToolbar_59" with something session ID independent. Any help would be thankful and sorry for my lack of knowledge in SKILL.

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 1 year ago

    Normally I'd suggest altering the cdsenv variable something like this:

    envSetVal("schematic" "schematicSelectFilter" 'string "wireName instanceName instancePinName instanceLabel noteText noteShape pinName")

    but in this case the toolbar doesn't get synchronised and the Edit→Select→Filter doesn't update if the form is already open (it will update the next time you open it though).

    If you really want to switch the modes corresponding to the toolbar settings, you can use:

    deFindToolbar("schSelectToolbar" hiGetSessionWindow(hiGetCurrentWindow()))->default->checked=t
    deFindToolbar("schSelectToolbar" hiGetSessionWindow(hiGetCurrentWindow()))->text->checked=t

    This way you don't need to know the magic number - the deFindToolbar will find that for you. This way the toolbar and select filter form will stay synchronised.

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Jismal Jamal
    Jismal Jamal over 1 year ago in reply to Andrew Beckett

    Thank Andrew It works!

    Cheers :) 

    • 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