AUTHOR: Richard Schmidbauer
www.visionvortex.de
LATEST UPDATE:Fixed a code error preventing renaming of UV-Sets. THis should work properly now.
ABOUT THE SCRIPT:The UV-Set Manager is a small tool, that provides you with an interface, that shows the UV-sets of all currently selected polygonal objects. You can have other objects in your selection, as the script distinguishes automatically between objecttypes. The currently active set is highlighted for each model. You can change the active set to another set by simply klicking on the respective entry in the list. The list updates automatically as you select and deselect objects.
COMPATIBILITY:
I don't know if the script works on older Maya Versions or it it works on Linux and OSX. However, I have not used any Windows specific flags, so you shouldn't have any Problems.
INSTALLATION:Download the script and copy the scriptfile to your user scripts directory.
Add the line
source nm_uvSetManager.mel;to your userSetup.mel file and start maya. You can start the script with
nm_uvSetManager; The script was tested on Alias Maya 8.0, so if anybody has some comments on backwards/upwards compatibility... you are welcome!
ADDITIONAL FUNCTIONALITY:
Added a button on top of the layout that
refreshes the UI with the active selection (so you don't need to
reselect objects after certain actions.
Added basic UV-functions per popup menu.
- Delete UV-Set
- Delete UV-Map
- Create Empty UV-Set
- Copy to New UV-Set
- Copy to UV-Set
- rename current UV-Sets
To
activate simply right-click on a UV list entry. This will bring up a
popup menu. The action is executed for the currently active (marked
with blue bg) UV-Set of the list you clicked on.
KNOWN ISSUES:The objectlist doesn't update when you reactivate the script with an instance of the script already open. The Display becomes blank. As soon as any object is selected, everything displays fine again.
If you execute an action (e.g. copy UV's) the list updates only when you select an Object (The scriptJob is tied to the "selection event")
NOTES:I have Tested the Tool under Maya8.0 on a WinXP32 Machine. If you notice any bugs or strange behavior, feel free to msg me. This tool is very useful when you work with many objects that feature many different uv-sets each. You can keep track on which uv set you are currently working on. You can also switch between sets easily by simply clicking on an entry... that speeds up the uv process a bit.
.