add_dielectric_layer#
- Stackup3D.add_dielectric_layer(name, material='FR4_epoxy', thickness=0.035, frequency=None)[source]#
Add a new dielectric layer to the stackup.
- Parameters:
- name
str
Layer name.
- material
str
Material name. The default is
"FR4_epoxy"
. The material will be parametrized.- thickness
float
,str
,optional
Thickness value. The default is
0.035
. The thickness will be parametrized.- frequency
float
,optional
The layer frequency, it will be common to all geometric shapes on the layer. The default is None, so each shape must have their own frequency.
- name
- Returns:
Examples
>>> from ansys.aedt.core import Hfss >>> from ansys.aedt.core.modeler.advanced_cad.stackup_3d import Stackup3D >>> hfss = Hfss() >>> my_stackup = Stackup3D(hfss, 2.5e9) >>> my_dielectric_layer = my_stackup.add_dielectric_layer("diel", thickness=1.5, material="Duroid (tm)")