duplicate_along_line#

UserDefinedComponent.duplicate_along_line(vector, clones=2, attach=False, **kwargs)[source]#

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