rotate#
- UserDefinedComponent.rotate(axis, angle=90.0, units='deg')[source]#
Rotate the selection.
- Parameters:
- axis
Coordinate system axis or the Application.AXIS object.
- angle
float
,optional
Angle of rotation. The units, defined by
unit
, can be either degrees or radians. The default is90.0
.- units
text
,optional
Units for the angle. Options are
"deg"
or"rad"
. The default is"deg"
.
- Returns:
ansys.aedt.core.modeler.cad.components_3d.UserDefinedComponent
, bool3D object when successful,
False
when failed.
References
>>> oEditor.Rotate