add_layer#
- Layers.add_layer(layer, layer_type='signal', thickness='0mm', elevation='0mm', material='copper', isnegative=False)[source]#
Add a layer.
- Parameters:
- layer
str
Name of the layer.
- layer_type
str
,optional
Type of the layer. The default is
"signal"
.- thickness
str
,optional
Thickness with units. The default is
"0mm"
.- elevation
str
,optional
Elevation with units. The default is
"0mm"
.- material
str
,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 isFalse
.
- layer
- Returns:
ansys.aedt.core.modules.layer_stackup.Layer
Layer object.