add_layer

Layers.add_layer(layername, layertype='signal', thickness='0mm', elevation='0mm', material='copper', isnegative=False)[source]

Add a layer.

Parameters
layernamestr

Name of the layer.

layertypestr, optional

Type of the layer. The default is "signal".

thicknessstr, optional

Thickness with units. The default is "0mm".

elevationstr, optional

Elevation with units. The default is "0mm".

materialstr, optional

Name of the material. The default is "copper".

isnegativebool, optional

If True, the geometry on the layer is cut away from the layer. The default is False.

Returns
pyaedt.modules.LayerStackup.Layer

Layer object.