duplicate_around_axis#

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

Duplicate the component around the axis.

Parameters:
cs_axisApplication.AXIS object

Coordinate system axis of the object.

anglefloat, optional

Angle of rotation in degrees. The default is 90.

nclonesint, 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