duplicate_along_line#
- Modeler3D.duplicate_along_line(assignment, vector, clones=2, attach=False, is_3d_comp=False, duplicate_assignment=True)#
Duplicate a selection along a line.
- Parameters:
- assignment
list
,str
,int
,ansys.aedt.core.modeler.cad.object_3d.Object3d
Name or ID of the object.
- vector
list
List of
[x1,y1,z1]
coordinates or the Application.Position object for the vector.- attachbool,
optional
The default is
False
.- clones
int
,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
.
- assignment
- Returns:
References
>>> oEditor.DuplicateAlongLine