rotate#
- Modeler2D.rotate(assignment, axis, angle=90.0, units='deg')#
Rotate the selection.
- Parameters:
- assignment
list,str,int,oransys.aedt.core.modeler.cad.object_3d.Object3d ID of the object.
- axis
str Coordinate system axis or value of the
ansys.aedt.core.generic.constants.Axisenum.- 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
Truewhen successful,Falsewhen failed.
References
>>> oEditor.Rotate