add_layer#

ControlFileStackup.add_layer(layer_name, elevation=0.0, material='', gds_type=0, target_layer='', thickness=0.0, layer_type='conductor', solve_inside=True, properties=None)[source]#

Add a new layer.

Parameters:
layer_namestr

Layer name.

elevationfloat

Layer elevation.

materialstr

Material for the layer.

gds_typeint

GDS type assigned on the layer. The value must be the same as in the GDS file otherwise geometries won’t be imported.

target_layerstr

Layer name assigned in EDB or HFSS 3D layout after import.

thicknessfloat

Layer thickness

layer_typestr

Define the layer type, default value for a layer is "conductor"

solve_insidebool

When True solver will solve inside metal, and not id False. Default value is True.

propertiesdict

Dictionary with key and property value.

Returns:
pyedb.dotnet.edb_core.edb_data.control_file.ControlFileLayer