hierarchy connectivity dbFlattenInst() leHiFlatten() cv=deGetCellView() objs=cv->instances ;Code A - rapide ;--------------------------------------------------------------------------- foreach(obj objs when(obj->objType=="inst" dbFlattenInst(obj 32 t) ) ;end foreach ;--------------------------------------------------------------------------- ;Code B ;--------------------------------------------------------------------------- foreach(obj objs when(obj->objType=="inst" dbFlattenInst(obj 32 t nil t) ) ;preserveRODobjs );end foreach ;--------------------------------------------------------------------------- astep = 0.5 bstep = 1.0 maxy = ?? miny = ?? width = 0.2 sep = 2 * width for(i 0 dbCreatePath(geGetEditCellView() "metal1" list(astep*i:maxy astep*i:miny+(sep*i) bstep*i:miny+(sep*i) bstep*i:miny) width ) ) procedure(CCScopyCellsToNew(@key lib1 cell1 (view1 "layout") lib2 cell2 (view2 "layout") libName cellName (viewName "layout") "ttttttttt") let(Cv_dest Cv_src1 Cv_src2 id1 id2) if(Cv_dest = dbOpenCellViewByType(libName cellName viewName "maskLayout" "w") then Cv_src1 = dbOpenCellViewByType(lib1 cell1 view1 "maskLayout" "r") Cv_src2 = dbOpenCellViewByType(lib2 cell2 view2 "maksLayout" "r") id1 = dbCreateInst(Cv_dest Cv_src1 "I1" 0:0 "R0") id2 = dbCreateInst(Cv_dest Cv_src2 "I2" 0:0 "R0") dbFlattenInst(id1 32 t t t) dbFlattenInst(id2 32 t t t) dbSave(Cv_dest) dbClose(Cv_dest) dbClose(Cv_src1) dbClose(Cv_src2) else warn("CCScopyCellsToNew: could not open destination cell for writing: %s %s %s" libName cellName viewName) ); if ); let ); procedure CCScopyCellsToNew Cv_dest = dbOpenCellViewByType(libName cellName viewName "maskLayout" "w") Cv_src1 = dbOpenCellViewByType(lib1 cell1 view1 "maskLayout" "r") Cv_src2 = dbOpenCellViewByType(lib2 cell2 view2 "maksLayout" "r") foreach( fig geSelectAllFig(Cv_src1) dbCopyFig(fig Cv_dest list(0:0 "R0" 1.0))) );foreach foreach( fig geSelectAllFig(Cv_src1) dbCopyFig(fig Cv_dest list(0:0 "R0" 1.0))) );foreach dbSave(Cv_dest) dbClose(Cv_dest) dbClose(Cv_src1) dbClose(Cv_src2) Attach netname HI Claes. Question is not clear about what exactly you want. Any way I am putting my suggestion , it might help. simple way to put a net name is select the wire and press "q" to get the property window and put the net name in connectivity . Other way to do it in SKILL is cv=geGetEditCellView() obj=css() netname="put net name" netid=dbFindNetByName(cv netname) dbAddFigToNet(obj netid)