get_layers#

LayerCollection.get_layers(layer_filter=LayerTypeSet.ALL_LAYER_SET)#

Get a list of layers in the layer collection using a layer filter.

Parameters:
layer_filterLayerTypeSet or LayerType or list[LayerType], default: ALL_LAYER_SET

Layer filter.

Returns:
list[Layer]

List of layers based on the filter used.