LayerEdbClass#

class pyedb.dotnet.database.edb_data.layer_data.LayerEdbClass(pedb, edb_object=None, name='', layer_type='undefined', **kwargs)#

Bases: object

Manages Edb Layers. Replaces EDBLayer.

Overview#

id

fill_material

The layer’s fill material.

is_stackup_layer

Determine whether this layer is a stackup layer.

is_via_layer

Determine whether this layer is a via layer.

color

Color of the layer.

transparency

Retrieve transparency of the layer.

name

Retrieve name of the layer.

type

Retrieve type of the layer.

properties

Import detail#

from pyedb.dotnet.database.edb_data.layer_data import LayerEdbClass

Property detail#

property LayerEdbClass.id#
property LayerEdbClass.fill_material#

The layer’s fill material.

property LayerEdbClass.is_stackup_layer#

Determine whether this layer is a stackup layer.

Returns:
bool

True if this layer is a stackup layer, False otherwise.

property LayerEdbClass.is_via_layer#

Determine whether this layer is a via layer.

Returns:
bool

True if this layer is a via layer, False otherwise.

property LayerEdbClass.color#

Color of the layer.

Returns:
tuple

RGB.

property LayerEdbClass.transparency#

Retrieve transparency of the layer.

Returns:
int

An integer between 0 and 100 with 0 being fully opaque and 100 being fully transparent.

property LayerEdbClass.name#

Retrieve name of the layer.

Returns:
str
property LayerEdbClass.type#

Retrieve type of the layer.

property LayerEdbClass.properties#

Method detail#

LayerEdbClass.update(**kwargs)#