• 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. selecting single figures/objects...

Stats

  • Locked Locked
  • Replies 20
  • Subscribers 143
  • Views 14129
  • 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

selecting single figures/objects...

bloodwayn
bloodwayn over 14 years ago

Hello everybody,

i have a layout with a "text" layer1. in this layer are diffrent layers consist of metal1, metal2 and/or poly. now i generate with a function 4 rectangles(also text layer) for example which devide the layer1 into 4 parts.

now i would like to select all layers which are located in one of these parts. so i don't know how i can select a figure or shape or so, based on an specific area.

 hope anybody can help

thanking you in anticipation and sry for my bad english ;)
philip

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

    Hi Philip,

    Yes, that's incorrect. The second argument to the leYankFigs is a list of points for the yank shape. You've given a list of bBoxes, one for each shape in the cellView - that's not correct. 

    If you're copying all shapes in the cellView, I would probably have done it by looping over the shapes and using dbCopyFig, but otherwise you could use:

    bBox=CV~>bBox
    ll=lowerLeft(bBox)
    ur=upperRight(bBox)
    lpts=list(ll xCoord(ll):yCoord(ur) ur xCoord(ur):yCoord(ll))
    leYankFig(CV lpts 5 0:0)
    lePasteFig(DestCV 0:0)

    Passing the reference point in the leYankFigs (and giving the same reference point in the lePasteFigs) .

    BTW, the reason I wanted the full error (with the error code if any) was that this tends to reveal more. Also, knowing which version you had been using could have helped. In this case though, I'd have needed to know how bBox was being computed - and clearly it was wrong, as you've explained.

    Regards,

    Andrew.

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

    Hi Philip,

    Yes, that's incorrect. The second argument to the leYankFigs is a list of points for the yank shape. You've given a list of bBoxes, one for each shape in the cellView - that's not correct. 

    If you're copying all shapes in the cellView, I would probably have done it by looping over the shapes and using dbCopyFig, but otherwise you could use:

    bBox=CV~>bBox
    ll=lowerLeft(bBox)
    ur=upperRight(bBox)
    lpts=list(ll xCoord(ll):yCoord(ur) ur xCoord(ur):yCoord(ll))
    leYankFig(CV lpts 5 0:0)
    lePasteFig(DestCV 0:0)

    Passing the reference point in the leYankFigs (and giving the same reference point in the lePasteFigs) .

    BTW, the reason I wanted the full error (with the error code if any) was that this tends to reveal more. Also, knowing which version you had been using could have helped. In this case though, I'd have needed to know how bBox was being computed - and clearly it was wrong, as you've explained.

    Regards,

    Andrew.

    • 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