duplicate_along_line#
- UserDefinedComponent.duplicate_along_line(vector: list | object, clones: int = 2, attach: bool = False, **kwargs) list | bool#
Duplicate the object along a line.
- Parameters:
- Returns:
listList of names of the newly added objects.
References
>>> oEditor.DuplicateAlongLine
Examples
>>> from ansys.aedt.core.modeler.cad.components_3d import UserDefinedComponent >>> obj = UserDefinedComponent() >>> obj.duplicate_along_line(vector=[1, 0, 0])