rotate#

Object3d.rotate(axis, angle=90.0, units='deg')[source]#

Rotate the selection.

Parameters:
axisint

Coordinate system axis or the Application.AXIS object.

anglefloat, optional

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:
ansys.aedt.core.modeler.cad.object_3d.Object3d

3D object. False when failed.

References

>>> oEditor.Rotate