• 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 know how many objects are going to stretch ?

Stats

  • Locked Locked
  • Replies 7
  • Subscribers 143
  • Views 14837
  • 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 know how many objects are going to stretch ?

Charley Chen
Charley Chen over 12 years ago

 Hi All ,

I want to know how many objects(and cellname...) are going to stretch(bindkey: S)  before stretch command action.

Thank you,

Charley

 

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    Charley,

    If you're using pre-selection, isn't this just length(geGetSelSet()) ? If you're using post-selection, it can't know because you've not selected them yet...

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Charley Chen
    Charley Chen over 12 years ago

     Andrew ,

    I ony use the stretch command , I don't know the pre-selection how the stretch command  does.

    Or how can i add pre-selection in stretch command ?

     

    Thank you,

    Charley

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

     Charley,

    Many of the editing commands in Virtuoso (e.g. copy, move, stretch etc) allow both pre- and post-selection. The idea is that if you have anything selected before you start the command, it will operate on what is selected. If nothing was selected, it will prompt you to select the items to operate on.

    You can also partially select objects in advance (hit the F4 key to toggle between partial and full selection modes).

    So there's nothing special you need to do in the command to use either pre- or post-selection; it's purely dependent upon whether anything was selected when you start the command.

    Kind Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Charley Chen
    Charley Chen over 12 years ago

     Andrew ,

    How can i add pre-selection in stretch command ?

    Thank you,

    Charley

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    As I said, just select (or partially select) the objects you want to stretch before you start the stretch command. That's all.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Charley Chen
    Charley Chen over 12 years ago

     Andrew ,

    Sorry , but user will forget to check the objects and do stretch command , can it be like a wrapper ? 

    Filter selected objects and do something and the ... before stretch command .

     

    Charley

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    Perhaps it would help if you explained precisely what you are trying to do (and why)?

    Of course, you could write a function which did some operation on the selected set, and then called leHiStretch(). But that's fairly obvious, so I'm guessing I still don't understand your objective?

    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