objects_by_net#

Modeler3DLayout.objects_by_net(net, object_filter=None, include_voids=False)[source]#

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.