objects_by_net#

Modeler3DLayout.objects_by_net(net: str, object_filter: str | list = None, include_voids: bool = False) list#

Retrieve the list of objects that belongs to a specific net.

Parameters:
netstr

Name of the net to filter.

object_filterstr, list, optional

Name of the category to include in search. Options are “poly”, “circle”, “rect”,`”line”,”arc”, `”via”,`”pin”` and “component”.

include_voidsbool, optional

Either if include or not the voids in search.

Returns:
list

Objects found.