rotate#

Modeler3D.rotate(assignment, axis, angle=90.0, units='deg')#

Rotate the selection.

Parameters:
assignmentlist, str, int, or ansys.aedt.core.modeler.Object3d.Object3d

ID of the object.

axisstr

Coordinate system axis or the Application.AXIS object.

anglefloat, str

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:
bool

True when successful, False when failed.

References

>>> oEditor.Rotate