• 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. By using dbGetTrueOverlaps(), How to get coordinate of what...

Stats

  • Replies 1
  • Subscribers 143
  • Views 208
  • Members are here 0

By using dbGetTrueOverlaps(), How to get coordinate of what i want

Noobnoob
Noobnoob 7 days ago

Hi, I'm sorry for my english is poor.

By using dbGetTrueOverlaps(), i want to get coordinate of shape that i want in mosaic or instance...

   

i placed mosaic named "DD" and i wanted to get coordinate of each "5X5" text in window view.

i used skill language "dbGetTrueOverlaps(geGetWindowCellView() geGetWindowCellView()~>bBox list("text" "drawing") 32 t)"

result is below

because db of each text is same, i didn't get coordinate of each text in window view...

 please help me...

  • Cancel
  • Sign in to reply
Parents
  • AB202509081234
    AB202509081234 4 days ago

    Hi,

    Did you have a look on the support site, if you search for dbGetTrueOverlaps, you will find dbGetHierPathTransform or dbGetInstTransform quite easily.

    Here is an example:

    let( ( cv hier_paths shape transform )
      cv = geGetEditCellView()
      hier_paths = dbGetTrueOverlaps( cv cv->bBox '( "annotate" "drawing" ) 32 t )
      (foreach hier_path hier_paths
        ;; Here we try to retrieve the last object from the hierarchical path returned by `dbGetTrueOverlaps`
        ;; If it is an object, we keep it as is, if it is a list, we take the last element.
        ;; (This might not be robust enough...)
        if( atom( hier_path )
          then
          shape = hier_path
          else
          shape = car( last( hier_path ))
          )
        ;; It seems that this is the function you are actually looking for
        transform = dbGetHierPathTransform( hier_path ) ;; or `dbGetInstTransform` (they seem identical...)
        (info
          "shape: %N \n\
    shape->objType: %N \n\
    transform: %N \n"
          shape shape->objType transform
          )
        ))
    
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • AB202509081234
    AB202509081234 4 days ago

    Hi,

    Did you have a look on the support site, if you search for dbGetTrueOverlaps, you will find dbGetHierPathTransform or dbGetInstTransform quite easily.

    Here is an example:

    let( ( cv hier_paths shape transform )
      cv = geGetEditCellView()
      hier_paths = dbGetTrueOverlaps( cv cv->bBox '( "annotate" "drawing" ) 32 t )
      (foreach hier_path hier_paths
        ;; Here we try to retrieve the last object from the hierarchical path returned by `dbGetTrueOverlaps`
        ;; If it is an object, we keep it as is, if it is a list, we take the last element.
        ;; (This might not be robust enough...)
        if( atom( hier_path )
          then
          shape = hier_path
          else
          shape = car( last( hier_path ))
          )
        ;; It seems that this is the function you are actually looking for
        transform = dbGetHierPathTransform( hier_path ) ;; or `dbGetInstTransform` (they seem identical...)
        (info
          "shape: %N \n\
    shape->objType: %N \n\
    transform: %N \n"
          shape shape->objType transform
          )
        ))
    
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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