Re: SKILL code to accept(OK) and close a dialog box
- From: DReynolds <spurwinktech@xxxxxxxxx>
- Date: Mon, 7 Jan 2008 06:37:56 -0800 (PST)
On Jan 7, 5:49 am, tadi <ganesh...@xxxxxxxxx> wrote:
On Dec 18 2007, 3:27 pm, tadi <ganesh...@xxxxxxxxx> wrote:
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.Ganesh, in that case I check to see if the prop exists, and if not I go and get it from the cdf.... still no need for dialog boxes
David
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
.
- References:
- Prev by Date: Re: SKILL code to accept(OK) and close a dialog box
- Next by Date: Re: Where's the "dfiPsf.c", about PSS analgsis error
- Previous by thread: Re: SKILL code to accept(OK) and close a dialog box
- Next by thread: Re: Where's the "dfiPsf.c", about PSS analgsis error
- Index(es):