duplicate_around_axis#

Modeler3D.duplicate_around_axis(objid, cs_axis, angle=90, nclones=2, create_new_objects=True, is_3d_comp=False, duplicate_assignment=True)#

Duplicate a selection around an axis.

Parameters:
objidlist, str, int, Object3d or UserDefinedComponent

Name or ID of the object.

cs_axis

Coordinate system axis or the Application.CoordinateSystemAxis object.

anglefloat, optional

Angle rotation in degees. The default is 90.

nclonesint, 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 is False.

duplicate_assignmentbool, optional

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

Returns:
tuple

References

>>> oEditor.DuplicateAroundAxis