James Dunlop Homepage
skinTo as om2 plugin
INFO: Converted the script into a MPxCommand
Step1: Save gist to valid plug-ins folder as jbd.py
Step2: In the script editor load the cmd cmds.loadPlugin('pathTo/plugin.py')
Step3: Select some geo and run cmds.resetSkinClusters()
LAST UPDATED: 04-10-2018
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 / parseed 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) :)