rotate#
- Object3d.rotate(axis, angle=90.0, units='deg')#
Rotate the selection.
- Parameters:
- axis
int
Coordinate system axis or value of the
ansys.aedt.core.generic.constants.Axis
enum.- 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"
.
- axis
- Returns:
ansys.aedt.core.modeler.cad.object_3d.Object3d
3D object.
False
when failed.
References
>>> oEditor.Rotate