In IC6, I have a bindkey which change via level (via1 to via2) . Main part of the code is:; Current selected viaviaToBeChanged=car(geGetSelSet()); new via identifiernewVia=dbOpenCellViewByType( technName viaName "layout" nil "r")if( newVia then viaToBeChanged~>master=newVia)Do you know how doing the same thing in IC6 ?Thanks in advanceEric
I've not really played with this, but I think that you can find the via definition using something like techFindViaDefByName() and then use that as one of the arguments to the dbCreateVia() function. In IC 6.1.x vias are objects in the database, whereas in IC51 ad earlier vias are instances, so they do need to be treated differently in IC61x.
Hope this helps.
There are two types of vias in IC6, customVias which have cellViews and stdVias which do not have cellViews. My current tech file only has stdVias so I cannot include anything about customVias.
As Lawrence implied, with IC6, if you want to put in a new via in place of the old, not modify the parameters on an existing one, you have to replace the via by creating a new via instanceusing dbCreateVia and delete the old.
Thanks for your replies.
OK for creating a new via which is stdVia. dbCreateVia has some argmuments. There is no problem for me to get l_point and t_orient from the original via. But I don't know how to get l_paramList. Is there a function to get those parameters ?
The non default parameter values are stored on the via header for that instance:
The default parameter values have to be extracted from the viaDef
Thanks for your help. It works fine