• 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. dbDeleteObject() : delete only specifc bBox

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 143
  • Views 5446
  • 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

dbDeleteObject() : delete only specifc bBox

santvlsi
santvlsi over 1 year ago

Hello all,

I am trying to delete selected bBox/layer from layout and here is my approach:

cv=geGetEditCellView()

req_shapes=setof(get cv~>shapes get~>lpp ==list("M1" "drawing") || get~>lpp ==list("M2" "drawing"))

req_shapes~> bBox     ---> which shows the bBox of req_shapes

I will use dbDeleteObject() function to delete selected layer

But I am confused how to delete the specfic bBox  [ I tried foreach( delete req_shapes dbDeleteObject(delete))   --> this will delete all selected databases(i intended to delete only specfic bBox) ]

Please let me know the solution for above problem.

Thanks,

CS

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 1 year ago

    You could use a region query to find the shapes you want - for example:

    M1shapesInBox=dbShapeQuery(cv list("M1" "drawing") list(x1:y1 x2:y2) 0 0)

    where the list(x1:y1 x2:y2) defines the box for the query. You can only search for a single layer this way. Or you could use:

    shapesInBox=dbGetOverlaps(cv list(x1:y1 x2:y2) 

    and then filter the result to look for just the lpps you want.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 1 year ago

    You could use a region query to find the shapes you want - for example:

    M1shapesInBox=dbShapeQuery(cv list("M1" "drawing") list(x1:y1 x2:y2) 0 0)

    where the list(x1:y1 x2:y2) defines the box for the query. You can only search for a single layer this way. Or you could use:

    shapesInBox=dbGetOverlaps(cv list(x1:y1 x2:y2) 

    and then filter the result to look for just the lpps you want.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • santvlsi
    santvlsi over 1 year ago in reply to Andrew Beckett

    Perfect.Thank you 

    • 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