• 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. Using variables in registered toolbar

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 149
  • Views 13736
  • 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

Using variables in registered toolbar

Yaosan
Yaosan over 15 years ago

I'm trying to create my own toolbar using the "Layout.toolbars" file located under ".cadence/dfII/toolbars/byApplication". I'm facing a problem creating combo box that grabs information from tech library. It seems to be that the "value" and "items" field of combo box needs to be hardcoded with strings or list of strings.

 For example, the following is defined in "Layout.toolbars":

 (
        nil
        name myToolbar
        text "My Toolbar"
        items (
            (
                nil
                type            comboBox
                name            lebComboBox
                tooltip         "Combo box's tooltip"
                prompt            "Combo box:"
                items            myGetComboItems()
                value            myGetComboDefaultValue()
                callback        "myComboBoxCB()"
                width           100
                editable        nil
            )
)

When Cadence try to load the toolbar, it will complain that:

*Error* hiCreateToolbarComboBox:: ?items must be a list of strings, or nil

Same for the ?value field, it needs to be a hardcoded string. How can I get around this? I know I could use hiCreateToolbar() and hiPlaceToolbar() to create combo box with variable items and default value, but if I do it that way the toolbar won't be registered properly i.e. cannot be saved as part of a workspace.

Any feedback will be greatly appreciated.

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 15 years ago

    I would suggest you log a service request with customer support via http://support.cadence.com - it's quite likely an enhanecment will be needed.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 15 years ago

    I would suggest you log a service request with customer support via http://support.cadence.com - it's quite likely an enhanecment will be needed.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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