Home > Community > Forums > Custom IC SKILL > How to check for schematic last save and last extracted in OA

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 check for schematic last save and last extracted in OA 

Last post Fri, Apr 24 2009 11:03 AM by vlau2. 3 replies.
Started by vlau2 23 Apr 2009 03:57 PM. Topic has 3 replies and 1951 views
Page 1 of 1 (4 items)
Sort Posts:
  • Thu, Apr 23 2009 3:57 PM

    • vlau2
    • Not Ranked
    • Joined on Thu, Jul 17 2008
    • Newport Beach, CA
    • Posts 9
    • Points 165
    How to check for schematic last save and last extracted in OA Reply

    I have a piece of SKILL code in cdba that used 2 database data:

    cv~>lastSchematicExtraction

    cv~>instanceLastChanged

    which now returns nil in OA. 

    I want to check whether this schematic needs to checkNSave (extract) again.

    What is the equivalent functions in OA?

     

    • Post Points: 20
  • Thu, Apr 23 2009 9:01 PM

    • skillUser
    • Top 10 Contributor
    • Joined on Fri, Sep 19 2008
    • Austin, TX
    • Posts 2,598
    • Points 16,075
    Re: How to check for schematic last save and last extracted in OA Reply

    Hi,

    for the lastSchematicExtraction you can use the following function under OpenAccess:

    dbIsConnCurrent(cv)

    I think for the instancesLastChanged property, cellview counters are used instead - the function dbSetConnCurrent() can be used to bring the counter up to date.

    Regards,

    Lawrence.

    • Post Points: 20
  • Fri, Apr 24 2009 2:30 AM

    Re: How to check for schematic last save and last extracted in OA Reply

    By the way. dbIsConnCurrent() also works in CDB versions (it was added a few years ago), so the best thing is to always use that, and then it will work with either underlying database.

    Regards,

    Andrew.

    • Post Points: 20
  • Fri, Apr 24 2009 11:03 AM

    • vlau2
    • Not Ranked
    • Joined on Thu, Jul 17 2008
    • Newport Beach, CA
    • Posts 9
    • Points 165
    Re: How to check for schematic last save and last extracted in OA Reply

    Yes,

    The function dbIsConnCurrent( cv ) is what I am looking for.

    Thanks,

    -Vincent.

    • Post Points: 5
Page 1 of 1 (4 items)
Sort Posts:
Started by vlau2 at 23 Apr 2009 03:57 PM. Topic has 3 replies.