set_ref_layer#

ViaLayer.set_ref_layer(ref_layer, upper_ref)#

Set the reference layer of the via layer.

Parameters:
ref_layerStackupLayer

Layer to set as the new reference layer of the via layer.

upper_refbool

Whether to set the new reference layer as the upper or lower reference layer.