skinTo as om2 plugin


Disclaimer:
All code here is provided as is without support.
Use at your own risk! These posts assume you have some knowledge of import/running python script in maya

So the args. Omg.
For some reason any of the standard approaches documented out there cause a kFailure trying to set args. As it stands I can’t get kStringObjects or kSelectionList working / parsed for the uvmaps=(“map1”, “map2”) argument. So I ended up putting those through as 2 sep string arguments and processing those internally.
Anyway here it is as a stand alone plugin. Oh and it’s not production tested (yet) :)