add_layer_top#

LayerCollection.add_layer_top(layer_to_add)#

Add a new layer to the top of the layer collection.

This method adjusts existing layers as needed to maintain stackup consistency.

Parameters:
layer_to_addLayer

Name of the layer to add.

Returns:
Layer