• 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. dbCreateRect in a group

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 16124
  • 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

dbCreateRect in a group

Will Tang
Will Tang over 6 years ago

Hi all,

What I want to do:

1. Edit-in-place a group [OK]

2. Create rectangles of shape by SKILL function ... dbCreateRect (cvid, ....)

but still get CIW message: *Error* dbCreateRect: Invalid cellView - db:0x2d44441e

I already get the cellview ID of the group by cvid = leGetEditFigGroup()

Any comment is much appreciated.

Thank you very much !!

Will

  • Cancel
  • skillUser
    skillUser over 6 years ago

    Hi Will,

    That's not the cellview ID but the figGroup ID. You should be able to get the cellview ID from the figGroup ID, or through various other methods for obtaining a cellview ID.  The documentation shows this for that function by the way:

    leGetEditFigGroup(
    [ w_windowID ]
    )
    => d_figGroupId / nil

    Best regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Will Tang
    Will Tang over 6 years ago in reply to skillUser

    Hi Lawrence,

    Thank you very much for your prompt reply :-)

    I see ...

    But I can only go into a group by edit-in-place method.

    Once I use cvid = geGetWindowCellView(), it returns cellview ID of the upper cell (the cell I used edit-in-place to edit the group).

    As a result, I created rectangles in the upper cell, not in the group.

    How can I get cellview ID of the group?

    Thank you very much !!

    Will

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to Will Tang

    Will,

    You've misunderstood. A figGroup is not a cellView. It's an object within the cellView which contains figures. So it makes no sense to "get cell view ID of the group". You can find the cellView that the figGroup is in, but I don't think that's what you mean.

    Anyway, if you've done edit in place and are editing the figGroup contents, then you can add to it this way:

    fg=leGetEditFigGroup()
    rect=dbCreateRect(fg~>cellView "Metal3" list(2:7 4:8))
    dbAddFigToFigGroup(fg rect)

    This creates the rectangle in the same cellView that the figGroup is in, and then adds the rectangle into the figGroup. Note that all figures within a figGroup are in the cellView containing the figGroup anyway.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Will Tang
    Will Tang over 6 years ago in reply to Andrew Beckett

    Hi Andrew,

    Thank you very much for your support and guidance !!

    It works very well !!

    Will

    • 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