• 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. why dbCreateHierProp does not work for objectIds

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 143
  • Views 13046
  • 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

why dbCreateHierProp does not work for objectIds

Atul Dubey
Atul Dubey over 7 years ago

Hello Experts,

I was trying to create a hierProp on a view, for example

view = ddGetObj("testlib" "test_props" "schematic")
dd:0x22211498
bag = dbOpenBag(view "a")
db:0x169bc79a
dbCreateProp(view "newStrProp" "string" "NEWSTRINGPROP")
db:0x169bc71c
dbCreateHierProp(view "newHierProp")
nil

In the example above dbCreateProp worked as expected but not dbCreateHierProp.

Is this expected or a bug, I am using IC617.

Thanks in advance for you help.

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

    According to the documentation, this should work. It used to work in CDB, but doesn't work in OA (at least in IC617 - I didn't check back versions). I did find some internal CCRs relating to their being some problems but these were a long time ago and prior to IC610 being released.

    As a workaround you can use:

    hp=dbCreateHierProp(bag "newHierProp")

    (in other words, use the bag rather than the view directly; all the view would do is internally open the bag anyway).

    You might want to contact customer support on this to get it fixed. Worst case, we should at least update the documentation to make it clear how you workaround this.

    Regards,

    Andrew.

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

    According to the documentation, this should work. It used to work in CDB, but doesn't work in OA (at least in IC617 - I didn't check back versions). I did find some internal CCRs relating to their being some problems but these were a long time ago and prior to IC610 being released.

    As a workaround you can use:

    hp=dbCreateHierProp(bag "newHierProp")

    (in other words, use the bag rather than the view directly; all the view would do is internally open the bag anyway).

    You might want to contact customer support on this to get it fixed. Worst case, we should at least update the documentation to make it clear how you workaround this.

    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