Custom Maya Projects
You don’t always have to use the default project set-up that ships with Maya!
If you have ever found yourself consistently deleting folders or adding in new folders when starting new projects with Maya, there is actually a lot easier and quicker way to set this up.
Using a text editor (something like Notepad ++ with MEL syntax highlight), you can edit scripts in Maya to make your project work-flow faster.
One of these scripts is projectSetup.mel (Maya 2010 and older) or np_getFileRuleWidgets.mel (Maya 2011 and newer).
Good organisation is key and I believe that keeping unnecessary and empty folders can make it harder to archive projects down the line, so I find it best to trim Maya’s Project hierarchy to make it easier to work with.
Default Project Set-up vs Custom Project Set-up
The default projectSetup.mel or np_getFileRuleWidgets.mel can often create too many empty, useless folders which you will probably never end up using like the screenshot above.
After editing the script you can make nice, clean project folders. The process of making your own Maya Project hierarchy is quite simple and should save you a lot of time in the long run.
Before You Edit Scripts
First of all find the projectSetup.mel file (Maya 2010 and older) or the np_getFileRuleWidgets.mel file (Maya 2011 and newer) in your Maya install directory – you can do a search for it or simply find it under “Autodesk\Mayaversion\scripts\others”.
Basically you never want to edit the original scripts that are in your Maya install directory!
Maya will always look for the script in your prefs folder first before it uses the default ones that ship with Maya.
The last thing you want is a borked script which will force you to reinstall Maya because you edited the original!
Editing the Script
Now using your text editor, you can open up this MEL script and add in your own lines to start editing the way Maya structures it’s project folders.
For instance, I have added a PSD Files folder so whenever I set-up a new project, Maya will create a folder called “psd” in my project directory.
Edit the file and find the lines similar to the screenshot below, there you can add in your own folders providing you follow the existing formatting:

Adding in this highlighted line will let Maya know to create a folder called "psd" the next time I create a new project
You can also see that I’ve added in other useful folders to my work-flow like a V-Ray renderData folder, new import and export folders…basically anything that will organise your projects a lot more efficiently.
If you do not want a folder created at all, you can merge it with another generic folder like “data” or “renderData” or just leave it blank so Maya will not create a folder at all.
Maya’s New Customised Project Dialogue Box
Hopefully this little tip can help you out somehow and helps to make a more efficient work-flow. Happy editing!
Comments
Great article . Thanks.
Thanks Darok! It seems Autodesk have changed how this whole thing works with Maya 2011 so I have updated the article.
Older versions of Maya pre 2011 use the projectSetup.mel script but Maya 2011 now uses the np_getFileRuleWidgets.mel script. The contents and process to modifying these scripts is still exactly the same though.
Thx
Hi and thanx for the article.
There are still some folders I can’t get Maya to get rid of though… fur and the DXF_DC, fbx, etc.
It looks like they are created in a loop further in the file.
Fun comments in the file btw… “This naming admittedly doesn’t make much sense” :)
I just don’t understand why they haven’t made it possible to do presets on this menu
Hi there,
If you see the line that says “string $ignore[] = {” which is under the comment “This is a list of translators to completely ignore”, you can add “DXF_DC”, “FBX” and other strings in this section.
Maya will not create any folders when you add strings to this section as they will just be ignored.
I also totally agree, presets would be a good idea – but on the other hand allowing us to code our own options in Maya is also a good advantage to have as well. Cheers!
Thanks.
- Henry
Oops nevermind, wish I could toast my comment. For some reason all of those .mel files are marked as system files, and it was refusing to search them out on vista 64. Odd that it looked in the cab files however.
Thanks for this article by the way. Noone wants to ship thier stuff with 30 useless empty folders.
Thanks, no problems tad, glad the article helped you out.
Thanks so much, I was looking everywhere for a way to do this. I wanted to set up a standardized project folder with additional directories. Now thanks to your article I am happy to say it is working great. I have lots of clients who return after month, I need to keep all their stuff together so I can archive it all and move it off of my drives, then move it back on when called to reopen the projects.
Thanks again
[...] you have customised your fileRuleEntry’s with, say a Custom V-Ray Cache rule. you can substitute this line of [...]
















