duplicate_around_axis#

UserDefinedComponent.duplicate_around_axis(axis, angle=90, clones=2, create_new_objects=True)[source]#

Duplicate the component around the axis.

Parameters:
axisApplication.AXIS object

Coordinate system axis of the object.

anglefloat, optional

Angle of rotation in degrees. The default is 90.

clonesint, optional

Number of clones. The default is 2.

create_new_objectsbool, optional

Whether to create copies as new objects. The default is True.

Returns:
list

List of names of the newly added objects.

References

>>> oEditor.DuplicateAroundAxis