• 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 use hierarchy objects in dbLayerSize() command.

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 143
  • Views 14376
  • 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 use hierarchy objects in dbLayerSize() command.

Sarvani
Sarvani over 12 years ago

Hi all,

        I have to generate M1 layer under M2 in layout.

cv=geGetEditCellView()

 figList2= dbGetOverlaps(cv list(car(pts) car(pts)) list("M2" "drawing") 32 t)

 dbLayerSize(cv list("M1" "drawing")   figList2 -0.08)

It works well for M2 layers in present level. Doesn't works for hirerchy M2 layers. Please help me.

 

Thank you,

Sarvani.

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

    You probably need to copy the shapes from the lower cells to the top level before sizing them. For example:

    procedure(abGetOverlapShape(overlap)
      if(listp(overlap) then
          abGetOverlapShape(cadr(overlap))
      else
          overlap
      )
    )

    flattenendFigList2=foreach(mapcar overlap figList2
      srcShape=abGetOverlapShape(overlap)
      dbCopyFig(srcShape cv dbGetHierPathTransform(overlap))
    )

    Once you've sized them, you might want to delete these flattened shapes.

    Regards,

    Andrew.

     

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

    You probably need to copy the shapes from the lower cells to the top level before sizing them. For example:

    procedure(abGetOverlapShape(overlap)
      if(listp(overlap) then
          abGetOverlapShape(cadr(overlap))
      else
          overlap
      )
    )

    flattenendFigList2=foreach(mapcar overlap figList2
      srcShape=abGetOverlapShape(overlap)
      dbCopyFig(srcShape cv dbGetHierPathTransform(overlap))
    )

    Once you've sized them, you might want to delete these flattened shapes.

    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