Layer#

class ansys.aedt.core.modules.layer_stackup.Layer(app, layertype='signal', negative=False)[source]#

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

Parameters:
appansys.aedt.core.modules.layer_stackup.Layers
layertypestr, optional

The default is "signal".

negativebool, optional

Whether the geometry on the layer is cut away from the layer. The default is False.

Examples

>>> from ansys.aedt.core import Hfss3dLayout
>>> app = Hfss3dLayout()
>>> layers = app.modeler.layers["Top"]

Methods

Layer.create_stackup_layer()

Create a stackup layer.

Layer.remove_stackup_layer()

Remove the stackup layer.

Layer.set_layer_color(r, g, b)

Update the color of the layer.

Layer.update_stackup_layer()

Update the stackup layer.

Attributes

Layer.bottom_huray_ratio

Get/Set the active layer bottom roughness ratio.

Layer.bottom_nodule_radius

Get/Set the active layer bottom roughness radius.

Layer.bottom_roughness

Return or set the active layer bottom roughness (with units).

Layer.bottom_roughness_model

Get/Set the active layer bottom roughness model.

Layer.color

Return or set the property of the active layer.

Layer.draw_override

Get/Set the active layer draw override value.

Layer.etch

Get/Set the active layer etch value.

Layer.fill_material

Get/Set the active layer filling material.

Layer.hfss_solver_settings

Get/Set the active layer hfss solver settings.

Layer.index

Get/Set the active layer index.

Layer.is_mesh_background

Get/Set the active layer mesh backgraound.

Layer.is_mesh_overlay

Get/Set the active layer mesh overlay.

Layer.is_negative

Get/Set the active layer negative flag.

Layer.is_visible

Get/Set the active layer visibility.

Layer.is_visible_component

Get/Set the active layer component visibility.

Layer.is_visible_hole

Get/Set the active layer hole visibility.

Layer.is_visible_pad

Get/Set the active layer pad visibility.

Layer.is_visible_path

Get/Set the active layer paths visibility.

Layer.is_visible_shape

Get/Set the active layer shape visibility.

Layer.locked

Get/Set the active layer lock flag.

Layer.lower_elevation

Get/Set the active layer lower elevation.

Layer.material

Get/Set the active layer material name.

Layer.oeditor

Oeditor Module.

Layer.pattern

Get/Set the active layer pattern.

Layer.planar_em_solver_settings

Get/Set the active layer PlanarEm solver settings.

Layer.roughness

Return or set the active layer roughness (with units).

Layer.side_huray_ratio

Get/Set the active layer bottom roughness ratio.

Layer.side_model

Get/Set the active layer side roughness model.

Layer.side_nodule_radius

Get/Set the active layer side roughness radius.

Layer.side_roughness

Get/Set the active layer side roughness (with units).

Layer.thickness

Get/Set the active layer thickness value.

Layer.thickness_units

Get the active layer thickness units value.

Layer.top_bottom

Get/Set the active layer top bottom alignment.

Layer.top_huray_ratio

Get/Set the active layer top roughness ratio.

Layer.top_nodule_radius

Get/Set the active layer top roughness radius.

Layer.top_roughness

Get/Set the active layer top roughness (with units).

Layer.top_roughness_model

Get/Set the active layer top roughness model.

Layer.transparency

Get/Set the property to the active layer.

Layer.upper_elevation

Get the active layer upper elevation value with units.

Layer.use_etch

Get/Set the active layer etiching flag.

Layer.user

Get/Set the active layer user flag.

Layer.usp

Get/Set the active layer usp flag.

Layer.visflag

Visibility flag for objects on the layer.

Layer.zones

Get/Set the active layer zoness.