create_lattice_pair#

RectangularPatchEdge.create_lattice_pair(lattice_height=None, bottom_extend=False)#

Create a lattice pair box.

Parameters:
lattice_heightstr, optional

Height of the lattice pair box.

bottom_extendbool, optional

Whether to extend the lattice pair in the bottom side. The default is False.

Returns:
ansys.aedt.core.modeler.object3d.Object3d

3D object.

Examples

>>> from ansys.aedt.core import Hfss
>>> from ansys.aedt.toolkits.antenna.backend.antenna_models.horn import Conical
>>> hfss = Hfss()
>>> horn = hfss.add_from_toolkit(Conical, draw=True)
>>> horn = horn.create_lattice_pair(lattice_height="20mm")