• 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. Skill code for buttonLayout : Previous Button and Next Button...

Stats

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

Skill code for buttonLayout : Previous Button and Next Button.

UserSkill
UserSkill over 15 years ago
Hi all,
    I'm facing some problems. I want to create a form allow user to enter some information about a layer (cellName, layerName, with, height).
    Example :
        Information of VIA1 layer :
            + cellName : Glob_VIA1
            + layerName : '("VIA1" "drawing")
            + with :    0.05
             + height : 0.05
   After VIA1 layer is entered, I'll press NEXT button to get information for VIA2, the same to VIA3, VIA4.
   And when I press PREVIOUS button, this form will return all information entered.
    Example :
             +NEXT BUTTON :   VIA1 --Next Button --> VIA2 -->Next Button -->VIA3....
             + PREVIOUS BUTTON : VIA3 ---Previous Button --> VIA2 -->Previous Button -->VIA1...
   I try to look up in skuiref document reference  but  ?buttonLayout Next & Previous aren't specified example.
   
If you know, please help me!
Marc.
  • Cancel
  • UserSkill
    UserSkill over 15 years ago

    Hi all,
     
    I'm facing some problems.
     
    I want to create a form allow user to enter some information about a layer (cellName, layerName, with, height).
     
    Example :  
              Information of VIA1 layer :   
                 + cellName : Glob_VIA1 
                 + layerName : '("VIA1" "drawing")  
                 + width : 0.05
                 + height : 0.05.
     
     After VIA1 layer is entered, I'll press NEXT button to get information for VIA2, the same to VIA3, VIA4. 
     And when I press PREVIOUS button, this form will return all information entered.
     
    Example :
     
           +NEXT BUTTON :
                   VIA1 --Next Button --> VIA2 -->Next Button -->VIA3....
           + PREVIOUS BUTTON : 
                  VIA3 ---Previous Button --> VIA2 -->Previous Button -->VIA1...
     
    I try to look up in skuiref reference document  but ?buttonLayout Next & Previous aren't specified example.
     
    If you know, please help me!
       
    Thanks & Best Regards, 
    Marc.

    Doc1.doc
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 15 years ago

    I don't have an example which shows this directly, but the principle would be to use the ?buttonLayout to add some additional buttons on the bottom of the form (top if using IC5141) and you'd have callbacks associated with each button. For example, something like:

              ?buttonLayout '(OKCancel (Next abMyFuncNext) (Prev abMyFuncPrev))

    where abMyFuncNext and abMyFuncPrev are defined to take a single argument which is the form data structure - and these would be responsible for updating the form contents appropriately.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • UserSkill
    UserSkill over 15 years ago
    Dear Andrew,

    Thanks for your support. I think it's similar as leHiEditProp() allow user to edit directly on the specified objects.

    Any skill code to support it?

    Regards,
     
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 15 years ago
    I already said that I don't have an example that shows this - yes, there are Cadence functions that do this, but the layout edit properties form is not even a SKILL form but directly implemented using Motif. Even if it was, I'm not sure how that would help you.

    I've explained the general principles as to how you'd add the buttons on your form.

    Regards,

    Andrew
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • UserSkill
    UserSkill over 15 years ago
    Dear Andew,
        Please review my file attached. I've create a form with Next/Previous Button.
        However Next/Previous allows to change information sequentially as via1y<-->via2y<-->via3y<-->via4y<-->via5y... (~ linked list).
        But I want to choose directly from via4y layer-box from this form and these values from fields (width, height, name)  will be changed suitability.
        What should I do?
    Regards,
    Form.doc
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 15 years ago

    UserSkill,

    Just looked at your document (I've been out of the office at customers). With just a picture of the form, rather hard to tell you what to do! I'd assumed you'd uploaded the code...

    What you need is for your callbacks to alter the values of the fields on the form - I don't understand what your difficulty is with that?

    Regards,

    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