add_layer_above#
- LayerCollection.add_layer_above(layer_to_add, layer_to_add_above_name)#
Add a new layer above the specified layer.
This method adjusts existing layers as needed to maintain stackup consistency.
- Parameters:
- layer_to_add
Layer
Name of the layer to add.
- layer_to_add_above_name
str
Name of the layer above which to add the new layer.
- layer_to_add
- Returns:
Layer