K
kamal
Guest
Hi,
I am trying to have a subroutine where i mention my lib/cell schematic
view and a list of nets and it should iteratively delete those nets. I
tried 2 approaches till now, but facing a problem with both:
1. I opened the schematic using
a) cvid = dbOpenCellViewByType (<all data>
b) k = "dbFindNetByName(cvid netname).
c) dbDeleteObject(k)
d)dbSave(k)
e)dbClose(k)
The problem is when i open that schematic i still see that net .
2. I did a select;
geOpen(?lib "mylib" ?cell "mycell" ?view "schematic" ?viewType
"schematic" ?mode "a")
cvId = dbOpenCellViewByType("mylib" "mycell" "schematic" "schematic"
"a")
foreach( netToBeDeleted netNameList
schHiSelectByProperty("select")
hiiSetCurrentForm('schSchSelectPropForm)
schSchSelectPropForm->schSchSelPropNameCyclic->value = "netName"
schSchSelectPropForm->schSchSelPropValueString->value = netToBeDeleted
hiFormDone(schSchSelectPropForm)
schHiDelete()
);foreach
dbSave(cvId)
dbClose(cvId)
Here when i am trying these lines one by one in my icfb , then it
deletes those nets , but when i put this a procedure then it stops at
the place where we need to click <OK> on the form and thus my whole
effort of automation gets lost.
Please help me out.
Thanks & Regards,
Kamal
I am trying to have a subroutine where i mention my lib/cell schematic
view and a list of nets and it should iteratively delete those nets. I
tried 2 approaches till now, but facing a problem with both:
1. I opened the schematic using
a) cvid = dbOpenCellViewByType (<all data>
b) k = "dbFindNetByName(cvid netname).
c) dbDeleteObject(k)
d)dbSave(k)
e)dbClose(k)
The problem is when i open that schematic i still see that net .
2. I did a select;
geOpen(?lib "mylib" ?cell "mycell" ?view "schematic" ?viewType
"schematic" ?mode "a")
cvId = dbOpenCellViewByType("mylib" "mycell" "schematic" "schematic"
"a")
foreach( netToBeDeleted netNameList
schHiSelectByProperty("select")
hiiSetCurrentForm('schSchSelectPropForm)
schSchSelectPropForm->schSchSelPropNameCyclic->value = "netName"
schSchSelectPropForm->schSchSelPropValueString->value = netToBeDeleted
hiFormDone(schSchSelectPropForm)
schHiDelete()
);foreach
dbSave(cvId)
dbClose(cvId)
Here when i am trying these lines one by one in my icfb , then it
deletes those nets , but when i put this a procedure then it stops at
the place where we need to click <OK> on the form and thus my whole
effort of automation gets lost.
Please help me out.
Thanks & Regards,
Kamal