Home > Community > Forums > PCB SKILL > Check and Save complete Library from function

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: *

 Check and Save complete Library from function 

Last post Tue, Sep 4 2007 10:57 PM by archive. 1 replies.
Started by archive 04 Sep 2007 10:57 PM. Topic has 1 replies and 1488 views
Page 1 of 1 (2 items)
Sort Posts:
  • Tue, Sep 4 2007 10:57 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    Check and Save complete Library from function Reply

    Hi All,

    I am trying to write a function to check and save whole library in non-gui mode.

    I want to write this function in *.il file
    then i am going to load this .il file in CIW and giving function with library name.

    Then all cells should be check and saved.

    It tryied code::
    procedure(CheckANDSave(lib_name)
          foreach( cell libId~>cells
                 if(member("schematic" cell~>views~>name) && cell~>isWritable==t then
                     cv=dbOpenCellViewByType(ddGetObj(lib_name) cell~>name "schematic" "schematic" "w")
                     if( cv != nil then
                        schHiCheckAndSave()
                     )
                 )
          )
    )


    But it is not working..................

    Please HELP me to run this code..........

    Thanks in advance

    -Amit Kumar
                   


    Originally posted in cdnusers.org by amitku
    • Post Points: 0
  • Tue, Sep 4 2007 11:00 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: Check and Save complete Library from function Reply

    Hi Friends,

    I also tried
    schCheck(cv)
    dbSave(cv)
    in place of schHiCheckAndSave() , but it is also not working.
    and it will check symbols with schematic and REMOVE the schematic.........

    Plz respond ASAP.

    -Amit Kumar


    Originally posted in cdnusers.org by amitku
    • Post Points: 0
Page 1 of 1 (2 items)
Sort Posts:
Started by archive at 04 Sep 2007 10:57 PM. Topic has 1 replies.