duplicate_along_line#

Modeler3D.duplicate_along_line(objid, vector, nclones=2, attachObject=False, is_3d_comp=False, duplicate_assignment=True)[source]#

Duplicate a selection along a line.

Parameters:
objidlist, str, int, pyaedt.modeler.Object3d.Object3d

Name or ID of the object.

vectorlist

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

attachObjectbool, optional

The default is False.

nclonesint, optional

Number of clones. The default is 2.

is_3d_compbool, optional

If True, the method will try to return the duplicated list of 3dcomponents. The default is False.

duplicate_assignmentbool, optional

If True, the method duplicates selection assignments. The default value is True.

Returns:
tuple

References

>>> oEditor.DuplicateAlongLine