• 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. Changing amount of rows and columns in a selected contact...

Stats

  • Locked Locked
  • Replies 13
  • Subscribers 146
  • Views 20412
  • 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

Changing amount of rows and columns in a selected contact cell

blankman
blankman over 14 years ago

Hi all, Im trying to add bind keys to increment and decrement the amount of rows and columns in a selected contact cell.

 

Im using...

procedure(BSchangeVia2x1()
foreach(fig geGetSelSet()
  when(fig~>objType=="inst"
      propValue = car(fig~>prop~>value)
      fig~>prop~>value=propValue+1
    )
    )
)
hiSetBindKey("Layout" "Alt<key>KP_Add" "BSchangeVia2x1()")

 

However this increments both row and column values. Is there a way to increment only the row value and leave the column value as is?

Cheers,

Brian.

  • Cancel
Parents
  • vmartins
    vmartins over 14 years ago

     Hi, thanks for the help and yes this is almost enough, but only work for vias form.

    what I wanted is to use in any form that haves rows and columns option field, I tried to use hiGetCurrentForm and hiChangeFormCallback and then try to over right the value... but I still don't have the code knowledge to do this....

    I just got a cadence Skill 400 page book so now I just need the time to read it..

    but thanks a lot for the help

    best regards

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

     Hi, thanks for the help and yes this is almost enough, but only work for vias form.

    what I wanted is to use in any form that haves rows and columns option field, I tried to use hiGetCurrentForm and hiChangeFormCallback and then try to over right the value... but I still don't have the code knowledge to do this....

    I just got a cadence Skill 400 page book so now I just need the time to read it..

    but thanks a lot for the help

    best 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