2 vias.with1viametal=metal.interacting(via,2) ##finding where the metal with more 2 via.withviametal=metal.interacting(via) ##finding where the metal with via(withviametal-with1viametal).sized(-hal
= m12.covering(via12, 1..1) & via12 #Find all single vias covered by m1 and also m2isoDistance = 25.0.um #The isolation distance iso12 = via12.sized(isoDistance/2) #All vias are sized up by h
thanks for sharing this information with us. You're right - it is strange that there is no method for this yet. But the good news is there will be one in the next major release: Layout#find_layer will