cleanPerFaceAssignment 1.0.0 (maya script)

It traces material connections, if multiple conections to one material is found, it reassign all materials

License Type:


File ID:


File Size:

10.7 KB

Created / Updated:

Sep 27, 2010 / Oct 01, 2010


zexell   More free downloads from this user See users marketplace items See this users portfolio Send a Private Message






2008, 2009, 2010, 2011


This script was originally written by Hiroyuki Haga on C++. Source you can find with Maya C++ API examples.
I have done not only "translation" to Maya Python, also some bugs was fixed by me and Script was modified in "my way".


1. It traces material connections
2. If multiple conections to one material is found, it reassign all materials


1. Make sure the PYTHONPATH environment variable is set properly in the maya.env file or the script may not run properly.
2. Select mesh with multiple connections to one material
3. Run from MEL or add to Shelf:
python("import cleanPerFaceAssignment; cleanPerFaceAssignment.cleanPerFaceAssignment()");

For debug purpose you can run:
python("import cleanPerFaceAssignment; cleanPerFaceAssignment.printObjectSGInfo()");

Please use the Bug System to report any bugs.
Please use the Feature Requests to give me ideas.
Please use the Support Forum to ask any questions.
Please rate my product in the Review section.

People who have favorited this file

More from this artist