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, you 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.
From the Terminal, you must create a file in which to save the script.
1. | Switch to the directory in which you want to create the script file: |
cd /usr/bin
2. | If the bin directory does not exist, then create it: |
mkdir /usr/bin
3. | Create the script file called maya : |
sudo vim maya
4. | Type in your password to grant administrator access. |
5. | 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: |
Esc :wq
7. | Edit the file to make sure all users can access it. Type the following: |
chmod ugo+x maya