rotate#
- Modeler3D.rotate(objid, cs_axis, angle=90.0, unit='deg')[source]#
Rotate the selection.
- Parameters:
- objid
list
,str
,int
,or
pyaedt.modeler.Object3d.Object3d
ID of the object.
- cs_axis
Coordinate system axis or the Application.AXIS object.
- angle
float
Angle of rotation. The units, defined by
unit
, can be either degrees or radians. The default is90.0
.- unit
text
,optional
Units for the angle. Options are
"deg"
or"rad"
. The default is"deg"
.
- objid
- Returns:
- bool
True
when successful,False
when failed.
References
>>> oEditor.Rotate