• 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. Programmatically made Custom Toolbar not appearing in toolbar...

Stats

  • Replies 0
  • Subscribers 144
  • Views 1079
  • Members are here 0

Programmatically made Custom Toolbar not appearing in toolbar list or loading saved location

AA202505215341
AA202505215341 3 months ago

Hello,

 

I am making a custom toolbar programmatically in SKILL and it is automatically loaded in the VLS EXL using deRegUserTriggers("maskLayoutEXL" nil nil 'showToolbar)

 

However, there are a few issues:
1. The toolbar does not appear in the list of toolbars in Window->Toolbars or when right-clicked to the right of Help then hovered on Toolbars. I suspect these two are related. How can I add my programmatically-made toolbar into the list of Window->Toolbars? Or is there a way to access the drop-down items there and add a custom menu item with my own functionality to mimic the visibility toggle for my custom toolbar?

 

2. The saved toolbar position is not loaded when opening a new window. Even when a new workspace configuration is saved with a different location for my custom toolbar, when opening a new window the custom toolbar relocates to the default location, and the workspace configuration must be changed to something else, then back to the new configuration to put the custom toolbar in the right location which is tedious. How can I load the saved location of the toolbar when opening a new window?

 

Here is the relevant code I have:

 

(procedure layerSwap()
  printf("swapping layers\n")
)

 

procedure( showToolbar(win)
  print("loading toolbar")

 

 

  layerSwapButton=hiCreateAction(
    ?name 'layerSwap
    ?callback "layerSwap()"
    ?toolTip "Switch metal layers between 0-10 and 10-20"
  )

 

  ;toolbar creation  
  customToolbar=hiCreateToolbar(
    ?name 'customToolbar
    ?title "Custom Toolbar"
    ?items list(layerSwapButton )
  )
  printf("placing toolbar now")
  hiPlaceToolbar( hiGetCurrentWindow() customToolbar) 
)

 

deRegUserTriggers("maskLayoutEXL" nil nil 'showToolbar)

  • Sign in to reply
  • 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