| |
 |
 |  |  | Command |  | Argument |
 | Datatype |  | Default |  | Min |  | Max |
 |  |  | Format: |  | AutoRotateTo<Obj|All> | |
Object selection, |  |
SELECTION |  | - |
 | - |
 | - |  |  | |
 | | | Alpha
= Final alpha angle, |  |
FLOAT |  | Current |
 | - |
 | - |  |  | |
 | | | Beta
= Final beta angle, |  | FLOAT |
 | Current |  | - |  | - |  |  | |
 | | | Gamma
= Final gamma angle, |  |
FLOAT |  | Current |
 | - |
 | - |  |  | |
 | | | Steps
= Number of steps till rotation is complete, |  | INT |  | 100 |
 | - |
 | - |  |  | |
 | | | Wait
= Wait for completion of rotation Yes | No |  | STRING |  | Yes |
 | - |
 | - |  |  |
 | Python: |
 | AutoRotateTo<Obj|All>(selection1,alpha=None,beta=None,gamma=None,steps=None,wait=None) |
 |  |  | Menu: |  | Effects > Rotate > automatically to |  |
 |  | Related: |  | Pos, Move
, AutoMove, AutoMoveTo
, Ori, Rotate
, AutoRotate |
 |  |  | Required: |  |
|  |  |
The AutoRotateTo command automatically rotates the selected objects or the scene to the specified orientation in the given number of steps. Then the rotation stops.
Example 1:
AutoRotateToObj 1crn,Alpha=20,Beta=180,Gamma=-30,Steps=100
Rotate object 1crn to angles 20/180/-30 in 100 steps.
Example 2:
AutoRotateToAll Beta=10,Steps=200,Wait=No
Rotate entire scene to a Beta angle of 10 in 200 steps, but do not wait till rotation is complete.
|