rotate#

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

Rotate the selection.

Parameters:
axisint

Coordinate system axis or value of the ansys.aedt.core.generic.constants.Axis enum.

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