duplicate_around_axis#
- Modeler3D.duplicate_around_axis(assignment, axis, angle=90, clones=2, create_new_objects=True, is_3d_comp=False, duplicate_assignment=True)#
Duplicate a selection around an axis.
- Parameters:
- assignment
list,str,int,Object3dorUserDefinedComponent Name or ID of the object.
- axis
str Coordinate system axis or value of the
ansys.aedt.core.generic.constants.Axisenum.- angle
float,optional Angle rotation in degees. The default is
90.- clones
intorstr,optional Number of clones. The default is
2.- create_new_objects
Whether to create the copies as new objects. The default is
True.- 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:
References
>>> oEditor.DuplicateAroundAxis