• 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. net highliting with bindkey

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 16124
  • 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

net highliting with bindkey

NoelCFC
NoelCFC over 9 years ago

Hi,

I'd like to know if it is possible to set the View->Net Highlighting command to a bindkey? I could not find the function in the SKILL API finder.

thanks very much.

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    Doesn't appear to be an API for this (bit strange). Anyway, it works if you do:

    schViewMenu->NetHighlights->checked=!schViewMenu->NetHighlights->checked

    This toggles it on or off, and is the same SKILL that gets executed when you pick the menu item.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • NoelCFC
    NoelCFC over 9 years ago

    thanks very much for the promptly reply, Andrew.

    It worked very well.

    best regards.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • hjia
    hjia over 5 years ago in reply to Andrew Beckett

    Hi Andrew,

    Can you please explain a little on what does "schViewMenu->NetHighlights->checked=!schViewMenu->NetHighlights->checked" mean and how to do it? Or since this post is older than 4 years, is there any way to use bindkey to toggle Net Highlighting ON/OFF now? Thank you.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 5 years ago in reply to hjia

    Well, there's a menu item (something called an "action" in the View menu in the schematic editor, called Net Highlighting. This is an action because it has a checkmark next to it when it's enabled. When turned on, hovering over a wire in the schematic highlights everywhere that the net is connected (even when connected by name) like this:

    The statement I posted simply finds the current value (as returned by schViewMenu->NetHighlights->checked) and inverts it using the not operator (!), and assigns it back again. So this will toggle the net highlighting on or off, to the opposite state of what it is now.

    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