Home > Community > Forums > Custom IC SKILL > How to delete a cellview property

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 How to delete a cellview property 

Last post Fri, Nov 6 2009 8:53 AM by yiotse. 2 replies.
Started by yiotse 05 Nov 2009 05:43 PM. Topic has 2 replies and 1159 views
Page 1 of 1 (3 items)
Sort Posts:
  • Thu, Nov 5 2009 5:43 PM

    • yiotse
    • Not Ranked
    • Joined on Thu, Nov 5 2009
    • Posts 2
    • Points 25
    How to delete a cellview property Reply

    In schematic view, there's Edit->Properties->CellView. I'd like to delete a specific property for every cell, therefore I'm generating a script to automate that.

     I tried:

    cvObj = dbOpenCellViewByType(libName cellName "schematic" "schematic" "a")
    dbDeletePropByName(cvObj "modelName")
    dbSave(cvObj)
    dbClose(cvObj)      

    In the GUI, I can see that property disappears, but it is not saved, and therefore I still have to go back to the schematic to hit Check And Save. What should be the correct way to do this? Thanks!!

     

    • Post Points: 20
  • Thu, Nov 5 2009 10:15 PM

    Re: How to delete a cellview property Reply

    Are you sure it's not saved? It's very hard to see why not, given that you have a dbSave() call in there.

    Perhaps it's just the fact that it has not been "checked" that is causing you trouble. So you probably need to have:

    schCheck(cvObj)

    before the dbSave(cvObj) ?

    Regards,

    Andrew.

    • Post Points: 20
  • Fri, Nov 6 2009 8:53 AM

    • yiotse
    • Not Ranked
    • Joined on Thu, Nov 5 2009
    • Posts 2
    • Points 25
    Re: How to delete a cellview property Reply

    yup, it works! Thanks very much for the help.

    • Post Points: 5
Page 1 of 1 (3 items)
Sort Posts:
Started by yiotse at 05 Nov 2009 05:43 PM. Topic has 2 replies.