auto_assign_lattice_pairs#

Hfss.auto_assign_lattice_pairs(assignment: str | Object3d, coordinate_system: str | None = 'Global', coordinate_plane: str | None = 'XY') list[str]#

Assign lattice pairs to a geometry automatically.

Parameters:
assignmentstr, ansys.aedt.core.modeler.cad.object_3d.Object3d

Object to assign a lattice to.

coordinate_systemstr, optional

Coordinate system to look for the lattice on.

coordinate_planestr, optional

Plane to look for the lattice on. Options are "XY", "XZ", and "YZ". The default is "XY".

Returns:
list of str

List of created pair names.

References

>>> oModule.AutoIdentifyLatticePair

Examples

>>> from ansys.aedt.core import Hfss
>>> hfss = Hfss()
>>> box1 = hfss.modeler.create_box([-100, -100, -100], [200, 200, 200])
>>> hfss.auto_assign_lattice_pairs(box1)