• 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. Retutning to previous selected results after using selectResults...

Stats

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

Retutning to previous selected results after using selectResults command

LDIL
LDIL over 5 years ago

Hello all.

I have an OCEAN script that would require me to use selectResults('instance)

However, I may want to perform afterwards commands such as value( IS( "/V1/PLUS"  0 ).

The results may be in tran, ac, dc, or some unknown, and I would like to have my command return to whatever results were already selected.

Is there a way of doing that? 

Thanks,

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 5 years ago

    You could do:

    currentResults=getResults()->name

    then after the operation, do:

    selectResult(currentResults)

    Andrew.

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • LDIL
    LDIL over 5 years ago in reply to Andrew Beckett

    Works like charm.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • LDIL
    LDIL over 4 years ago in reply to Andrew Beckett

    Hi Andrew. I have one tiny correction. It should be getResult()->name and not getResults()->name

    It's probably a typo.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to LDIL

    It was a deliberate mistake to check that you were paying attention!

    Yes, I probably just typed it in rather than pasting from a session where I'd tried it, so I made a mistake in the transcription.

    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