Setting up the scene

To import and position the barrel

  1. Open the scene named

    This file can be found in the GettingStarted\MEL directory that you set as your Maya project, in the scenes sub-directory.

  2. Open the Script Editor by selecting Window > General Editors > Script Editor.
  3. Select the barrel with the select tool.
  4. In the Script Editor, type the following:

    Type exactly as below:

    rotate -r 0 0 90;

    The barrel is rotated 90 degrees about the Z axis.