get_polygons_by_layer#

Modeler.get_polygons_by_layer(layer_name, net_list=None)[source]#

Retrieve polygons by a layer.

Parameters:
layer_namestr

Name of the layer.

net_listlist, optional

List of net names.

Returns:
list

List of primitive objects.