get_top_bottom_stackup_layers#

LayerCollection.get_top_bottom_stackup_layers(layer_type_set)#

Get the top and bottom stackup layers of a specific type and their elevations.

Parameters:
layer_type_setLayerTypeSet

Layer type set indicating the layer types to retrieve.

Returns:
tuple[Layer, float, Layer, float]

Returns a tuple in this format: (upper_layer, upper_layer_top_elevation, lower_layer, lower_layer_lower_elevation)