• 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. how to add the skill code to banner menu of layout window...

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 143
  • Views 15973
  • 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

how to add the skill code to banner menu of layout window by giving the input as the path

Sri Charan B
Sri Charan B over 13 years ago

 Hi,

I have got a code written to add the banner menu(like the File, Edit etc.,) but the problem i am facing here is that i need to add the whole skill codes which i want them to be added in that pull down menu, the following is the code which i am using,

procedure(CharanAddMenu(_args)
  let( (item1 item2)
    item1 = hiCreateMenuItem( ?name 'item1 ?itemText "Name_1" ?callback "skill_code_1()")
    item2 = hiCreateMenuItem( ?name 'item2 ?itemText "Name_2" ?callback "skill_code_2()")
    list(hiCreatePulldownMenu('CharanMenu "Charan Menu" list(item1 item2)))
  )
)
deRegUserTriggers("maskLayout" nil 'CharanAddMenu)

in the above code skill_code_*() refers to the skill code which i need to add to this code

and the Name_* refers to the name to be displayed for that particular code in my banner menu.

So if i want to add a new function to this i am supposed to add that code here and this goes on increasing if i want add more and more functions to my menu. Instead of this i want to call the function by passing the path (or the file name) to my above code which makes my job easier by just adding the path of the function (or by just passing the file name).

Some one please help me,

Thanks in advance,

  • Cancel
Parents
  • Sri Charan B
    Sri Charan B over 13 years ago

    Hi Andrew,

    Thank you very much for your quick reply, and apologies for my delay in the reply.

    The actual thing i am trying to do here is that i want to create my personalized menu in the layout window like file, edit, view, etc., where all my skill codes which ever i have written are to be in that menu(for example "Charan" be the name of the menu and it has all the skill codes which i have with me in it).

    When i click on that menu a drop box of all the skill codes (code1 performs some action and code2 which performs another action and so on..)which ever i have with me are to be loaded into that and by clicking on the item in that menu should  get my work done without loading my code in the ciw window using the 'load' command everytime i need that code to be run on my layout window.

    I hope that this might clear your doubt on what is my objective actually.

    Once again I would ask apologies for the delay in my respose.

    Regards,

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Sri Charan B
    Sri Charan B over 13 years ago

    Hi Andrew,

    Thank you very much for your quick reply, and apologies for my delay in the reply.

    The actual thing i am trying to do here is that i want to create my personalized menu in the layout window like file, edit, view, etc., where all my skill codes which ever i have written are to be in that menu(for example "Charan" be the name of the menu and it has all the skill codes which i have with me in it).

    When i click on that menu a drop box of all the skill codes (code1 performs some action and code2 which performs another action and so on..)which ever i have with me are to be loaded into that and by clicking on the item in that menu should  get my work done without loading my code in the ciw window using the 'load' command everytime i need that code to be run on my layout window.

    I hope that this might clear your doubt on what is my objective actually.

    Once again I would ask apologies for the delay in my respose.

    Regards,

    • 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