• 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. Cycle through annotation options using SKILL for bindke...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 142
  • Views 13227
  • 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

Cycle through annotation options using SKILL for bindkey

MicrochipMan
MicrochipMan over 6 years ago

Hi Andrew,

Couldn't find a way to open a new thread, so decided to just reply to a most relevant post. Hope that my question finds you.

I'm trying to make a bindkey that would cycle through a sequence of actions as following:

First hit:      AnnotationSlider->annDCOpPoint->checked=t

Second hit:   AnnotationSlider->annmodel->checked=t

Third hit:      AnnotationSlider->annparameter->checked=t

Fourth hit:  back to first hit...   and round and round...

I'm not experienced with SKILL, so can't come up with a way to implement it. Could you please point me in the right direction.

Thanks.

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago

    First of all, it's easy to create a new post:

    The top ringed region shows you how to get to all the forum posts for a particular forum, and the second ringed region is the button for new posts.

    I split this into a new thread, and renamed the thread. This SKILL will do what you want.

    procedure(CCFcycleAnnotation(@optional 
        (session sevSession(hiGetCurrentWindow())))
      let((newChoice (choices '(dcOpPoints modelParameters componentParameters)))
        ;--------------------------------------------------------------------
        ; Find current choice and get next in list. If no next, pick first choice
        ;--------------------------------------------------------------------
        newChoice=cadr(member(CCFcycleAnnotation.current choices)) || car(choices)
        CCFcycleAnnotation.current=newChoice
        sevAnnotateResults(session newChoice)
      )
    )

    Regards,

    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