17.6. Animation in the Windows Environment

The Mechanical APDL program and the DISPLAY program on Windows platforms use the Microsoft standard AVI file format to store animation frames (video only).

The following related topics are available:

17.6.1. Understanding AVI File Support

Animation capabilities are available among the options under Utility Menu> PlotCtrls and via the animation macros. If you are animating a deformed shape or different mode shapes of your analysis, the program stores the animation frames in a file called Jobname.AVI (where Jobname is the jobname for the current session). After completing this step, the program opens the Windows Media Player.

To animate contours, the program displays a dialog box from which you can select animation options. The program generates the frames and Windows Media Player displays them.

The Replay animation option starts Windows Media Player. If you have stored an animation sequence during the current session, the file name associated with it is passed to Windows Media Player automatically.

You can animate other quantities or generate an animation in other parts of the program via the /SEG command.

AVI files cannot be created directly in batch mode. If you are working in batch mode, you must save multiple images to a single Jobname.GRPH file via the /SHOW command. Following the batch run, you can open the resulting Jobname.GRPH file in the DISPLAY program and then create an AVI file.

The following topics related to AVI file support are available:

    17.6.2. How the DISPLAY Program Supports AVI Files

    If you have stored a series of graphics in file, you can create an animation using those graphics via the DISPLAY program.

    Start the DISPLAY program and select Display> Animate> Create on the menu bar. The following dialog box appears.

    Figure 17.3:  DISPLAY Program and Create Animation Sequence Dialog

    DISPLAY Program and Create Animation Sequence Dialog

    Specify the plots to be used during the animation in the File Name box and the delay time in seconds in the Time Between Frames box. For example, if your Jobname.GRPH file contains 20 plots and you wish to use every other plot in your animation, select 1 (for the beginning plot), 20 (for the end plot), and 2 (for the increment). The Create function stores your animated sequence in the default file ANIM.AVI.

    To replay your animation, use the Playback option, which starts Windows Media Player.

    17.6.3. Other Uses for AVI Files

    While running Windows Media Player, you can use OLE (Object Linking and Embedding) to export your animation to other applications. Select the Copy option under the Edit menu. Then, you can embed the animation object in another OLE-compliant application. For example, you can embed animation objects in Microsoft Word or Microsoft PowerPoint.

    After an animation object is embedded in an application, you can double-click on the object to start playing back your animation. To share your compound document with others, give them the Jobname.AVI file that you created and a copy of the file containing the embedded animation sequence.


    Release 18.2 - © ANSYS, Inc. All rights reserved.