• 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. Descending into a group from figure coordinates in layo...

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 144
  • Views 15343
  • 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

Descending into a group from figure coordinates in layout

frankliu
frankliu over 9 years ago

I have groups (figure groups) within groups ..., i.e. nested groups.

From the toplevel of the hierarchy, I would like to descend to the geometry under point.

Given that I cannot select the geometry at toplevel because it is deeply nested in other groups, what is a good way of getting to it.

Yes, it is possible that the geometry at point may be overlapping other geometry in the same layer, in which case I would like to have all the possible choices under point.

Thanks in advance.

  • Cancel
  • psill000
    psill000 over 9 years ago

    If you are just editing groups interactively, have you tried turning on/off the groups transparency?


    Enable the Options toolbar

    Toggle the Transparency Group

    Paul

    Just working something, you have to specific on shape you want to edit; otherwise, it will pick the first shape it finds. I have not test it with hierarchy. I tested it at cell level.

    procedure(editInPlaceFigGrp()
    let(    (shpDb grpDb
        (cv geGetWindowCellView())
        (pt enterPoint()))

    shpDb = car(leSearchHierarchy(cv list(pt pt) 32 "any shape" nil))

    foreach(grp dbFigGroupQuery(cv list(pt pt) 0 32)
        if(member(shpDb grp~>figs) grpDb = grp))

    if(grpDb leSetEditFigGroup(grpDb))
    ); end of let
    ); end of ausPSXeditInPlaceFigGrp

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • psill000
    psill000 over 9 years ago

    Saw a problem with the script, updated.

    Its some to build on.

    I have not added for other variables in the group, anything other than a shape.

    procedure(ausPSXeditInPlaceFigGrp()
    let(    (shpDb grpDb
        (cv geGetWindowCellView())
        (pt enterPoint()))

    foreach(shp leSearchHierarchy(cv list(pt pt) 32 "any shape" nil)
        if(leIsLayerVisible(shp~>lpp) shpDb = shp))

    foreach(grp dbFigGroupQuery(cv list(pt pt) 0 32)
        if(member(shpDb grp~>figs) grpDb = grp))

    if(grpDb leSetEditFigGroup(grpDb))
    ); end of let
    ); end of ausPSXeditInPlaceFigGrp

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • frankliu
    frankliu over 9 years ago
    Hi Paul, thanks for code snippet, I will give it a try. -f
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • frankliu
    frankliu over 9 years ago

    Hi Paul

    I noticed that

    grp~>figs

    returns a list of lists for me, I used (car grp~>figs) for now, and it does the job, but I was wondering if I am missing something, what does each list in figs represent?

    -f

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • psill000
    psill000 over 9 years ago

    grp~>figs returns all the objects in the group; shapes, vias, groups, instances.


    With the car(grp~>figs) your are returning the first object in the group. I used the is visible as a filter for the objects in the group.

    Paul

    • 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