duplicate_along_line#

UserDefinedComponent.duplicate_along_line(vector, nclones=2, attach_object=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.

nclonesint, optional

Number of clones. The default is 2.

attach_objectbool, optional

Whether to attach the object. The default is False.

Returns:
list

List of names of the newly added objects.

References

>>> oEditor.DuplicateAlongLine