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:
vectorlist

List of [x1 ,y1, z1] coordinates for the vector or the Application.Position object.

clonesint, optional

Number of clones. The default is 2.

attachbool, optional

Whether to attach the object. The default is False.

Returns:
list

List of names of the newly added objects.

References

>>> oEditor.DuplicateAlongLine