duplicate_along_line

Object3d.duplicate_along_line(vector, nclones=2, attachObject=False)[source]

Duplicate the object along a line.

Parameters
vectorlist

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

attachObjectbool, optional

Whether to attach the object. The default is False.

nclonesint, optional

Number of clones. The default is 2.

Returns
list

List of names of the newly added objects.

References

>>> oEditor.DuplicateAlongLine