create_probe_port#

Patch.create_probe_port(reference_layer, rel_x_offset=0, rel_y_offset=0, r=0.01, name='Probe')[source]#

Create a coaxial probe port for the patch.

Parameters:
reference_layerclass:ansys.aedt.core.modeler.advanced_cad.stackup_3d.Layer3D

Reference layer (ground).

rel_x_offsetfloat,

Relative x-offset for probe feed. Provide a value between 0.0 and 1.0. Offset in the x-direction relative to the center of the patch. 0 places the probe at the center of the patch. 1 places the probe at the edge of the patch. Default: 0

rel_y_offsetfloat, value between 0 and 1

0 places the probe at the center of the patch. 1 places the probe at the edge of the patch. Default: 0

dfloat, probe diameter

Default: 0.01

namestr, optional name of probe port.

Default value “Probe”

Returns:
bool

True when successful, False when failed.

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)
>>> gnd = my_stackup.add_ground_layer("gnd")
>>> my_stackup.add_dielectric_layer("diel1", thickness=1.5, material="Duroid (tm)")
>>> top = my_stackup.add_signal_layer("top")
>>> my_patch = top.add_patch(frequency=None, patch_width=51, patch_name="MLPatch")
>>> my_stackup.resize_around_element(my_patch)
>>> my_patch.create_probe_port(gnd)