duplicate_along_line#
- Pyramidal.duplicate_along_line(vector, num_clones=2)#
Duplicate the object along a line.
- Parameters:
- Returns:
dict
Dictionary with the list of new objects.
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) >>> new_horn = horn.duplicate_along_line([10, 0, 0], 2)