Setting the Path on Mac OS X

The Path needs to be set up so that when Harmony launches Maya, it knows where exactly to look for the application. On Mac, we can set this up by placing a script in usr/bin.

Creating and Setting Up the Script on Mac OS X

Follow these steps to create the script to call Maya and to set it up.

Contact support at support@toonboom.com if you experience any problem while creating the script and setting it up or 3D rendering.

From the Terminal, we want to create a file that we can save the script in.

To create the script and set it up:

1. First, change directory to the directory where you want to create the script file:

cd /usr/bin

2. If the directory bin doesn't exist yet, then create it:

mkdir /usr/bin

3. We will now create the script file called maya:

sudo vim maya

4. Type in your password to grant administrator access
5. Now from inside the text editor, select "i" to go to Insert Mode, and copy and paste the following text. Make sure the path is updated to the version of Maya you have running on your machine.

#!/bin/bash

exec /Applications/Autodesk/maya2014/Maya.app/Contents/MacOS/Maya "$@"

6. Save and exit by typing in:

Esc :wq

7. Now we need to edit the file to make sure that all users can access it. Type in:

chmod ugo+x maya