get_layers_from_layout

ipkiss3.all.get_layers_from_layout(layout)

Extracts all unique layers present in a given layout.

Parameters:
layout: LayoutView | ElementList

The layout view or element list to inspect.

Returns:
list[Layer]:

A list of unique layers found within the provided layout.