• 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. Regarding "dbGetTrueOverlaps()"

Stats

  • Locked Locked
  • Replies 12
  • Subscribers 144
  • Views 6570
  • 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

Regarding "dbGetTrueOverlaps()"

Neeraj Vardhan
Neeraj Vardhan over 12 years ago

Hi,

I am writing a code to get all instances under a marker layer. I tried to use dbGetTrueOverlaps() but it failed with an error of "*Error* dbGetTrueOverlaps: Invalid bBox - (((-0.915 0.025) (4.695 3.135)))". I have mentioned the code below, 

 

 procedure(nvGetVia3()

cv=geGetEditCellView()

x=geGetSelSet()

y=x~>bBox

shape_new=dbGetTrueOverlaps(cv y)

)

 

Thanks & Regards

Neeraj 

 

  • Cancel
Parents
  • RFStuff
    RFStuff over 12 years ago

    If you use dbGetTrueOverlaps(), you may get a list of lists something like below. The 1st one is the ID of the selected trace.You can always eliminate it using unless like Andrew's code in the POST.

    The first ID in each list represent the instance name in the hierarchy. The last one in each list is the actual object (may be a PATH,POlygon,Shape..etc). Each list is basically a nested list of the hierarchy.

    If you have more number hierarchy you will get more depth in the nesting. If you get the idea you can easily extract the instance ID.

    One can  basically argue that the instance is a last but one in a nested list returned by dbGetTrueOverlaps().

    You can also try  dbGetInstTransform(). It may NOT work in IC5141.

     

     

     shapeList = dbGetTrueOverlaps(cv obj1~>bBox obj1~>layer 0:5)
    \t (db:217705012
    \t     (db:217517248 db:262161624)
    \t     (db:217517248 db:262161472)
    \t     (db:217517248 db:262161312)
    \t     (db:217517248 db:261977724)
    \t     (db:217517248 db:261977644)
    \t     (db:217517248 db:261977564)
    \t )
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • RFStuff
    RFStuff over 12 years ago

    If you use dbGetTrueOverlaps(), you may get a list of lists something like below. The 1st one is the ID of the selected trace.You can always eliminate it using unless like Andrew's code in the POST.

    The first ID in each list represent the instance name in the hierarchy. The last one in each list is the actual object (may be a PATH,POlygon,Shape..etc). Each list is basically a nested list of the hierarchy.

    If you have more number hierarchy you will get more depth in the nesting. If you get the idea you can easily extract the instance ID.

    One can  basically argue that the instance is a last but one in a nested list returned by dbGetTrueOverlaps().

    You can also try  dbGetInstTransform(). It may NOT work in IC5141.

     

     

     shapeList = dbGetTrueOverlaps(cv obj1~>bBox obj1~>layer 0:5)
    \t (db:217705012
    \t     (db:217517248 db:262161624)
    \t     (db:217517248 db:262161472)
    \t     (db:217517248 db:262161312)
    \t     (db:217517248 db:261977724)
    \t     (db:217517248 db:261977644)
    \t     (db:217517248 db:261977564)
    \t )
    • 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