ani
Controls the animation of the loaded results in the current page.
Syntax
ani <argument>
Inputs
- for
- Turns the animation on in the forward direction.
- bac
- Turns the animation on in the backward direction.
- next
- If the model is not animating, the current simulation is set to the next simulation. If the model is animating, then the effect of this command is not visible. If this command is given when the model is at the last step, the message "Last Simulation reached" is displayed.
- prev
- If the model is not animating, the current simulation is set to the previous simulation. If the model is animating, then the effect of this command is not visible. If this command is given when the model is at the first step, the message "First Simulation reached" is displayed.
- first
- If the model is not animating, the current simulation is set to the first simulation. If the model is animating, the effect is not visible.
- last
- If the model is not animating, the current simulation is set to the last simulation. If the model is animating, the effect is not visible.
- fab
- The animation is turned on in bouncing mode.
- off
- The animation is turned off.
- step <step no.>
- The current simulation step is set to the specified <step no.>. If the step number is not in the range of total number of simulation steps, then an error message is displayed. The step number is from 1 to n (n being the last simulation step).
Outputs
Nothing
Errors
No error codes.
If the results are not loaded in the active window of the application, then the message "Result File not loaded" is displayed on the TK Console. If an argument other than the ones mentioned above or no argument is supplied to the ani command, then the correct usage is displayed in the TK Console.
Examples
ani for;
Comments
This command works only if results are loaded. If they are not loaded, then the message "Result File not loaded" is displayed.