• 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. Inserting a customized toolbar in a layout

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 143
  • Views 8123
  • 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

Inserting a customized toolbar in a layout

JRP29
JRP29 over 2 years ago

Hi,

I am creating a customized toolbar using hiCreateToolbar command and I am using deRegUserTriggers function to insert that toolbar everytime we open a new layout. 
But while doing descend  Shift+X  or/and Shift+B, the user trigger is happening which creates the same toolbar agian as a duplicate in the layout window.

Is there any other proper way to insert a customized toolbar in layout window or how to avoid user trigger while descending or return to top level. 
Let me know if the question is not clear ,I can explain further. 

  • Cancel
Parents
  • AurelBuche
    AurelBuche over 2 years ago

    Hi,

    I know it is not exactly what you ask for but why don't you just check the toolbar is not already displayed:

    (defun user_trigger (dpl) (unless (pcreMatchList "my_toolbar_name" (hiGetWindowToolbars dpl->sessionWindow)~>hiToolBarSym) (display_toolbar ...)))

    Something like this should do the job

    Hope this helps,

    Cheers

    Aurélien

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • JRP29
    JRP29 over 2 years ago in reply to AurelBuche

    Thanks Aurélien for the work around. It is working properly now. 

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
Reply
  • JRP29
    JRP29 over 2 years ago in reply to AurelBuche

    Thanks Aurélien for the work around. It is working properly now. 

    • Cancel
    • Vote Up +1 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