get_layer_range#

PadstackInstance.get_layer_range()#

Get the top and bottom layers of the padstack instance.

Returns:
tuple of (Layer, Layer)

The tuple is in this format:

(top_layer, bottom_layer)

top_layer: Top layer of the padstack instance bottom_layer: Bottom layer of the padstack instance