In schematic i had declared explict pin separately say(VDD),and coresponding net say (VDD) is connected to design.
I am able to select and delete the pin selected,but not able to delete its corresponding net at a time.
My requirement is,however they defined explicit pins,i want to replace VDD pin with other explicit pin.
Could you pls write a code for this?
Code i had written is :
cv=dbOpenCellViewByType("CMOS045_IO_DEVKIT_OD25_7M4X0Y2Z" "TEST" "schematic" nil "a")
netdb=car(setof(x cv~>instances (x~>pin~>term~>name == name1 )))
x_cord = car(netdb~>xy)y_cord = cadr(netdb~>xy)
Pls let me know ?
Thanks and regards
Your code deletes the physical pin instance, but does not delete the term or net object. You should be able to use the dbFindNetByName() and dbFindTermByName() SKILL functions to get the database objects corresponding to the net and term objects respectivley, and then delete these using dbDeleteObject as you did for the pin. You might want to check if there are any instTerm objects on the net before deleting it.
Hopefully this is what you need.