get_primitive_by_layer_and_point#

Modeler.get_primitive_by_layer_and_point(point=None, layer=None, nets=None)[source]#

Return primitive given coordinate point [x, y], layer name and nets.

Parameters:
pointlist

Coordinate [x, y]

layerlist or str, optional

list of layer name or layer name applied on filter.

netslist or str, optional

list of net name or single net name applied on filter

Returns:
list of pyedb.dotnet.edb_core.edb_data.primitives_data.Primitive

List of primitives, polygons, paths and rectangles.