LayerCollection#

class pyedb.dotnet.database.stackup.LayerCollection(pedb, edb_object=None)#

Bases: object

Overview#

update_layout

Set layer collection into edb.

refresh_layer_collection

Refresh layer collection from Edb. This method is run on demand after all edit operations on stackup.

add_layer_top

Add a layer on top of the stackup.

add_layer_bottom

Add a layer on bottom of the stackup.

add_layer_below

Add a layer below a layer.

add_layer_above

Add a layer above a layer.

add_document_layer

Add a document layer.

set_layer_clone

find_layer_by_name

Finds a layer with the given name.

stackup_layers

Retrieve the dictionary of signal and dielectric layers.

non_stackup_layers

Retrieve the dictionary of signal layers.

all_layers

layers_by_id

Retrieve the list of layers with their ids.

layers

Retrieve the dictionary of layers.

Import detail#

from pyedb.dotnet.database.stackup import LayerCollection

Property detail#

property LayerCollection.stackup_layers#

Retrieve the dictionary of signal and dielectric layers.

property LayerCollection.non_stackup_layers#

Retrieve the dictionary of signal layers.

property LayerCollection.all_layers#
property LayerCollection.layers_by_id#

Retrieve the list of layers with their ids.

property LayerCollection.layers#

Retrieve the dictionary of layers.

Returns:
Dict[str, pyedb.dotnet.database.edb_data.layer_data.LayerEdbClass]

Method detail#

LayerCollection.update_layout()#

Set layer collection into edb.

Parameters:
stackup
LayerCollection.refresh_layer_collection()#

Refresh layer collection from Edb. This method is run on demand after all edit operations on stackup.

LayerCollection.add_layer_top(name, layer_type='signal', **kwargs)#

Add a layer on top of the stackup.

Parameters:
namestr

Name of the layer.

layer_type: str, optional

Type of the layer. The default to "signal". Options are "signal", "dielectric"

kwargs
Returns:
LayerCollection.add_layer_bottom(name, layer_type='signal', **kwargs)#

Add a layer on bottom of the stackup.

Parameters:
namestr

Name of the layer.

layer_type: str, optional

Type of the layer. The default to "signal". Options are "signal", "dielectric"

kwargs
Returns:
LayerCollection.add_layer_below(name, base_layer_name, layer_type='signal', **kwargs)#

Add a layer below a layer.

Parameters:
namestr

Name of the layer.

base_layer_name: str

Name of the base layer.

layer_type: str, optional

Type of the layer. The default to "signal". Options are "signal", "dielectric"

kwargs
Returns:
LayerCollection.add_layer_above(name, base_layer_name, layer_type='signal', **kwargs)#

Add a layer above a layer.

Parameters:
namestr

Name of the layer.

base_layer_name: str

Name of the base layer.

layer_type: str, optional

Type of the layer. The default to "signal". Options are "signal", "dielectric"

kwargs
Returns:
LayerCollection.add_document_layer(name, layer_type='user', **kwargs)#

Add a document layer.

Parameters:
namestr

Name of the layer.

layer_type: str, optional

Type of the layer. The default is "user". Options are "user", "outline"

kwargs
Returns:
LayerCollection.set_layer_clone(layer_clone)#
LayerCollection.find_layer_by_name(name: str)#

Finds a layer with the given name.