duplicate_and_mirror#
- Modeler3D.duplicate_and_mirror(assignment, origin, vector, is_3d_comp=False, duplicate_assignment=True)[source]#
Duplicate and mirror a selection.
- Parameters:
- assignment
str
,int
,or
ansys.aedt.core.modeler.cad.object_3d.Object3d
Name or ID of the object.
- origin
list
List of the
[x, y, z]
coordinates or Application.Position object for the selection.- vector
float
,str
List of the
[x1, y1, z1]
coordinates or Application.Position object for the vector.- is_3d_compbool,
optional
If
True
, the method will try to return the duplicated list of 3dcomponents. The default isFalse
.- duplicate_assignmentbool,
optional
If True, the method duplicates selection assignments. The default value is
True
.
- assignment
- Returns:
list
List of objects created or an empty list.
References
>>> oEditor.DuplicateMirror