• 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. some thing about the user menus in ADE!(complete!)

Stats

  • Locked Locked
  • Replies 16
  • Subscribers 145
  • Views 8658
  • 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

some thing about the user menus in ADE!(complete!)

imagesensor123
imagesensor123 over 14 years ago

 Hi,

    After refering to the analogartist reference, i have copie the simui.menus to my home directory( or work directory), and modify it to add a menu in Tools by add this line ("mytool" ?callback()) in the Tools section of the simui.menus file, but this menu did not turn up when the analogArtist stratup. it seems that the default menus are loaded in ADE. Does anyone know the reason? when i use the command ddGetStartupAll("menus"), the result shows ("~/menu"), i think it is the menu folder which i placed in my home folder. i got quite confused about how to add a user menu in ADE, thanks for explaining this method to me.

         by the way, i have load this menu by adding this line "load("~/menu/simui.menus")" in my .cdsinit.

Regards,

zfeng

  • Cancel
Parents
  • tyanata
    tyanata over 14 years ago

     Hello again,

     

    Your questions are difficult for me to answer (I am not very experienced in SKILL also). I just found the solution of the task using the both solutions from the Cadence support which I posted in my topic as base for my work.

    Currently I have to cope with another problem in Cadence environment which I use, in ADE there is a custom button created in some script from our foundry. I want to disable it using the approach bellow but it seems that this button is loaded some time (several seconds) after ADE launching so I could not disable it using this approach.

     

    The script itself works because after this button is created on my ADE if I load commands one by one in CIW this button is deleted.

     

    So can you say how to postpone execution of my scripts let's say with 10 seconds.

     

     procedure(triggerScriptLoad(ADE_WindowID)

       ADE_WindowID=hiGetCurrentWindow()
       menuList=hiGetBannerMenus(ADE_WindowID)
       Unnecessary_Menu=nth(9 menuList)

       hiDeleteBannerMenu(ADE_WindowID 9)
    ; Delete the menu item number 0 is the leftmost menu item.

       hiRaiseWindow(ADE_WindowID)

      )

    deRegUserTriggers("analogArtist-schematic" nil nil 'triggerScriptLoad)

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • tyanata
    tyanata over 14 years ago

     Hello again,

     

    Your questions are difficult for me to answer (I am not very experienced in SKILL also). I just found the solution of the task using the both solutions from the Cadence support which I posted in my topic as base for my work.

    Currently I have to cope with another problem in Cadence environment which I use, in ADE there is a custom button created in some script from our foundry. I want to disable it using the approach bellow but it seems that this button is loaded some time (several seconds) after ADE launching so I could not disable it using this approach.

     

    The script itself works because after this button is created on my ADE if I load commands one by one in CIW this button is deleted.

     

    So can you say how to postpone execution of my scripts let's say with 10 seconds.

     

     procedure(triggerScriptLoad(ADE_WindowID)

       ADE_WindowID=hiGetCurrentWindow()
       menuList=hiGetBannerMenus(ADE_WindowID)
       Unnecessary_Menu=nth(9 menuList)

       hiDeleteBannerMenu(ADE_WindowID 9)
    ; Delete the menu item number 0 is the leftmost menu item.

       hiRaiseWindow(ADE_WindowID)

      )

    deRegUserTriggers("analogArtist-schematic" nil nil 'triggerScriptLoad)

    • 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