SKILL code to accept(OK) and close a dialog box

Discussion in 'Cadence' started by tadi, Dec 18, 2007.

  1. tadi

    tadi Guest

    Hello all,

    I am facing an issue with pop-up boxes, while changing properties of
    devices in schematic using SKILL. Please go through the code below.

    ##########################
    deOpenCellView(dest_lib cellname "schematic" "schematic" list(nil)
    "a")
    cv_dbid = geGetWindowCellView()
    changeDevice(cv_dbid)

    procedure(changeDevice(cv_dbid)
    pmoslist=list("pmos_svt" "pmos" "pmos_io")
    nmoslist=list("nmos_svt" "nmos" "nmos_io")
    ;select all mos devices
    foreach(inst cv_dbid~>instances
    if(member(inst~>cellName pmoslist) || member(inst~>cellName
    nmoslist) then
    geSelectObjectNoFilter(inst)
    )
    )
    ;open ObjectProperty Form and change Vth1vG value to "high"
    schHiObjectProperty()
    schObjPropForm->objScope->value = "all selected"
    schObjPropForm->compFilter->value = "any masters"
    schObjPropForm->objGroup->value = "instance"
    schObjPropForm~>Vth1vG~>value="high"
    hiFormDone(schObjPropForm)
    geDeselectAll()
    )
    ############################

    hiFormDone() is opening a dialogbox (schDBox) with "YES" "NO" "CANCEL"
    options. Is there any way in SKILL to change the properties silently ?

    Thanks in advance.

    -Ganesh.
     
    tadi, Dec 18, 2007
    #1
  2. obj->prop = value

    or am I missing something (well other than the possibility of cdf...)
     
    Jean-Marc Bourguet, Dec 18, 2007
    #2
  3. tadi

    DReynolds Guest

    To make the program run silently...use commands like
    dbReplaceProp()instead of the human interface command
    schHiObjectProperty()


    David
     
    DReynolds, Dec 18, 2007
    #3
  4. tadi

    tadi Guest

    Jean & David, thanks for your suggestions.

    I got this resolved by cadence AE. Actually you cannot do this using
    db command becos this property is not getting listed in inst~>prop
    since the property is a CDF property with base value. The moment, you
    give the value in the instance edit from, it will get listed in
    inst~>prop since it has updated value at instance!

    I am new to CDF stuff & trying to get familiar with.

    Thanks again for yout suggestions.

    -Ganesh
     
    tadi, Jan 7, 2008
    #4
  5. tadi

    DReynolds Guest

     
    DReynolds, Jan 7, 2008
    #5
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.