duplicate_along_line#

Polyline.duplicate_along_line(vector, clones=2, attach=False)[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 of str

List of names of the newly added objects.

References

>>> oEditor.DuplicateAlongLine