Home > Community > Forums > Custom IC SKILL > Saving a layout to a file using SKILL code

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

 Saving a layout to a file using SKILL code 

Last post Mon, Jan 14 2013 2:35 AM by Andrew Beckett. 3 replies.
Started by thomas1000 11 Jan 2013 10:22 AM. Topic has 3 replies and 700 views
Page 1 of 1 (4 items)
Sort Posts:
  • Fri, Jan 11 2013 10:22 AM

    Saving a layout to a file using SKILL code Reply

     I need to save a backup copy of a layout to a software-selected file using SKILL code - how do I do that?

    • Post Points: 20
  • Fri, Jan 11 2013 10:26 AM

    Re: Saving a layout to a file using SKILL code Reply

    dbSave() takes optional additional arguments. It can either be dbSave(cvId destCvId) or dbSave(cvId libName cellName viewName). See the documentation for more detail.

    If it's a graphical application, you can also use geSaveAs().

    Regards,

    Andrew.

    • Post Points: 20
  • Fri, Jan 11 2013 11:28 AM

    Re: Saving a layout to a file using SKILL code Reply

     Thanks for your help.  geSaveAs() worked but dbSave() was needed because geSaveAs() would not accept a variable for the library name - it had to be a string literal.

    • Post Points: 20
  • Mon, Jan 14 2013 2:35 AM

    Re: Saving a layout to a file using SKILL code Reply

    We'd have had to work quite hard to make geSaveAs() not take variables and only literal strings. I just tried it, and it worked perfectly:

    lib="opamp090"
    cell="adc_sample_hold"
    view="layout_final_copied"
    win=hiGetCurrentWindow()
    geSaveAs(win lib cell view)

    I tried this in both IC5141 and IC615. Looking at the argument list and function type for geSaveAs, it simply can't not accept variables - it's a normal (lambda) function, and so arguments are evaluated before it is called.

    Regards,

    Andrew.

    • Post Points: 5
Page 1 of 1 (4 items)
Sort Posts:
Started by thomas1000 at 11 Jan 2013 10:22 AM. Topic has 3 replies.