Hi David I am not sure if this can resolve your problem, hope that it will be helpful: procedure( CCSremoveParams(newLib) let( (cv cdfTable techLib baseCdf instCdf paramList) cdfTable=makeTable("cdfTable" nil) techLib=techGetTechFile(ddGetObj(newLib))~>libName foreach( cell ddGetObj(techLib)~>cells baseCdf=cdfGetBaseCellCDF(cell) cdfTable[cell~>name]=foreach(mapcar x baseCdf->parameters x->name) ) ;foreach foreach( cell ddGetObj(newLib)~>cells foreach( view setof(x cell~>views pcreMatchp("schematic" x~>name) cv=dbOpenCellViewByType(newLib cell~>name view~>name "" "a") foreach( inst setof(x cv~>instances x~>libName==techLib) instCdf=cdfGetInstCDF(inst) paramList=setof(x instCdf->parameters !member(x->name cdfTable[cell~>name]])) apply('cdfDeleteParam paramList) ) ;foreach schCheck(cv) dbSave(cv) dbClose(cv) ) ;foreach ) ;foreach ) ;let ) ;procedure If it is not what you need, perhaps it might be best to file a case so that the local AE can assist you on the problem. Best regards Quek
↧