rotate#
- Modeler2D.rotate(assignment, axis, angle=90.0, units='deg')[source]#
Rotate the selection.
- Parameters:
- assignment
list
,str
,int
,or
ansys.aedt.core.modeler.Object3d.Object3d
ID of the object.
- axis
str
Coordinate system axis or the Application.AXIS object.
- angle
float
,str
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"
.
- assignment
- Returns:
- bool
True
when successful,False
when failed.
References
>>> oEditor.Rotate