• 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. Add menu item to gui info

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 143
  • Views 9170
  • 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

Add menu item to gui info

psill00
psill00 over 3 years ago

I have a gui and I am adding the menu item with hiAddMenuItem

How do I add the new Item to have the functionality of attachmentList

hiCreateAppForm(
?attachmentList
list( hicLeftPercentSet | hicTopPercentSet | hicRightPercentSet | hicBottomPercentSet; org button on menu

       hicLeftPercentSet | hicTopPercentSet | hicRightPercentSet | hicBottomPercentSet); new button on new

Paul

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

    Paul,

    I have no idea what you’re asking. You’re asking about adding menu items and then giving snippets of form creation functions and talking about attachment lists. I can’t see what one has to do with the other or what you are hoping to find out. 

    Andrew

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

    Paul,

    I have no idea what you’re asking. You’re asking about adding menu items and then giving snippets of form creation functions and talking about attachment lists. I can’t see what one has to do with the other or what you are hoping to find out. 

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • psill00
    psill00 over 3 years ago in reply to Andrew Beckett

    Sorry I for the vague question

    I have no problem in adding a menu item to a form. The problem I have is when I add the item I dont have the ability to stretch the menu and the menu items change in size also.

    The ?attatchmentList feature on the forms is nice when you change the size of the gui the menu buttons also change in size

    I was wondering can I add to the attatchmentList to the form or do I have to re create the form with the correct number of attatchmentList.

    Paul

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to psill00

    Paul,

    I don't understand what you mean by adding menu items to a form. Forms don't have menu items, unless you are either talking about window forms (in which case you're adding pulldown menus to the window, not the form) or are talking about context (right mouse button) menus over (say) tree fields, In either case I can't see what that has to do with attachment lists because that only affects the fields on the form.

    If you were just asking about adding another field to a form using hiAddField, then that has an optional third argument which is the attachment to use (if using attachment forms).

    I would generally recommend using hiLayout forms anyway nowadays rather than 2D forms with attachments, as these have better geometry management and are much easier to create (you don't need to worry about coordinates for example). You can add new items to such forms with hiAddItemToLayout.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • 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