• 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. Find a form

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 143
  • Views 13633
  • 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

Find a form

psill000
psill000 over 10 years ago

What function can I use to find a form?

I have tried leGetTechFormList, but that seems to list cadence forms.

The form I am searching for is a custom form.

Paul

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    Paul,

    Normally I'd bring up the form and do hiGetCurrentForm()->hiFormSym (I think that's the slot - but ->? will list it) to find the name of the form I'm dealing with. However, there's also hiFormList() which will list all forms defined. I used this in a reply yesterday: http://community.cadence.com/cadence_technology_forums/f/48/p/33188/1341362#1341362

    Note that some forms are dynamically generated, so this won't necessarily help you - depends on what you're looking for.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • psill000
    psill000 over 10 years ago

    Thanks for the info. The gui is a dynamic gui and I can find the gui, but variable does not have the menu variables.

    What I have

    foreach(gui hiFormList()
        if(rexMatchp("daForm" symbolToString(gui)) then
            guiList = cons(gui guiList))
        )

     If I do a

    tmp = car(guiList)

    tmp~>??

    (_hiInValueSetCB nil)

    Am I saving the info correctly or do I need  to access variable with another function.

    Paul

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    Paul,

    No need to do symbolToString, as rexMatchp can take a symbol as the second argument. In fact you could do this using:

    guiList=rexMatchList("daForm" hiFormList())

    Then you've got the symbol for the form, not the form data structure itself. So you'd need to do:

    tmp=symeval(car(guiList))

    Then you should be OK.

    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