Layers#

class ansys.aedt.core.modules.layer_stackup.Layers(modeler, roughnessunits='um')[source]#

Manages stackup for the Circuit and HFSS 3D Layout tools.

Parameters:
modeleransys.aedt.core.modeler.modeler_pcb.Modeler3DLayout
roughnessunitsstr, optional

Units for the roughness of layers. The default is "um".

Examples

>>> from ansys.aedt.core import Hfss3dLayout
>>> app = Hfss3dLayout()
>>> layers = app.modeler.layers

Methods

Layers.add_layer(layer[, layer_type, ...])

Add a layer.

Layers.change_stackup_type([mode, number_zones])

Change the stackup type between Multizone, Overlap and Laminate.

Layers.layer_id(name)

Retrieve a layer ID.

Attributes

Layers.LengthUnit

Length units.

Layers.all_diel_layers

All dielectric layers.

Layers.all_layers

All stackup layers.

Layers.all_signal_layers

All signal layers.

Layers.dielectrics

All dielectric layers.

Layers.drawing_layers

All drawing layers.

Layers.drawings

All stackup layers.

Layers.layers

Refresh all layers in the current stackup.

Layers.oeditor

Editor.

Layers.signals

All signal layers.

Layers.stackup_layers

All stackup layers.

Layers.zones

List of all available zones.