• 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. Deleting ghost layer

Stats

  • Locked Locked
  • Replies 9
  • Subscribers 144
  • Views 19069
  • 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

Deleting ghost layer

dNora
dNora over 13 years ago

 Hi,

I'm trying to delete ghost layers that exists in database but you can't select or view. I can get layers through

foreach(lpp cv~>lpps when(lpp~>purpose=="hv" printf("layer found %s %s\n" lpp~>layerName lpp~>purpose) ) )

dbDeleteObject complains it's invalid type, if I try to use ddDeleteObj then I get

 *Error* ddDeleteObj: argument #1 should be a ddUserType (type template = "b") - db:248248124

What other command can I use?

 

  • Cancel
Parents
  • skillUser
    skillUser over 13 years ago

    Hi dNora,

    unfortunately you don't show the code where dbDeleteObject is called - are you calling it with the lpp's found by the foreach, where your printf statement is?  If so I am not sure this is valid - you can delete the shapes of the lpp, but I don't know about deleting the lpp itself.  Try something like this (assuming you were calling dbDeleteObject(lpp) ) :

      mapcar('dbDeleteObject lpp~>shapes)

     A dd object is different to a db object, so this is why the ddDeleteObj function would not work - if you do not have a dd object, then it will not work.  Think of the dd objects as being similar to what you see in the Library Manager, a library dd object, a cell, a view and so on.

    The lpp (LP) object is a collection object, I believe that it is automatically created in virtual memory for shapes on layer purposes, so it probably cannot be directly modified, but if you modify the shapes, this in turn should update the lpps attribute of the cellview object.

    I hope that this helps you.

    Regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • skillUser
    skillUser over 13 years ago

    Hi dNora,

    unfortunately you don't show the code where dbDeleteObject is called - are you calling it with the lpp's found by the foreach, where your printf statement is?  If so I am not sure this is valid - you can delete the shapes of the lpp, but I don't know about deleting the lpp itself.  Try something like this (assuming you were calling dbDeleteObject(lpp) ) :

      mapcar('dbDeleteObject lpp~>shapes)

     A dd object is different to a db object, so this is why the ddDeleteObj function would not work - if you do not have a dd object, then it will not work.  Think of the dd objects as being similar to what you see in the Library Manager, a library dd object, a cell, a view and so on.

    The lpp (LP) object is a collection object, I believe that it is automatically created in virtual memory for shapes on layer purposes, so it probably cannot be directly modified, but if you modify the shapes, this in turn should update the lpps attribute of the cellview object.

    I hope that this helps you.

    Regards,

    Lawrence.

    • 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