rotate#

UserDefinedComponent.rotate(axis, angle=90.0, units='deg')[source]#

Rotate the selection.

Parameters:
axis

Coordinate system axis or the Application.AXIS object.

anglefloat, optional

Angle of rotation. The units, defined by unit, can be either degrees or radians. The default is 90.0.

unitstext, optional

Units for the angle. Options are "deg" or "rad". The default is "deg".

Returns:
ansys.aedt.core.modeler.cad.components_3d.UserDefinedComponent, bool

3D object when successful, False when failed.

References

>>> oEditor.Rotate