Copy/Paste Skin Modifier via Max Script
I recently discovered that copying a skin modifier via maxscript (using addmodifier) doesn't set the weights correctly, so I wrote a function to transfer the weights from one mesh to another. (they need to have the same topology though)
Some other scripts out there won't work because at some point autodesk decided to change the way that the skin's bone table is indexed, and they would need a lookup table with the bone names to convert the old index to the new one. *sight It seems I fixed it.
The script defines a data structure used to gather the weight table of the source object, and a function. I didn't create any interface but you could easily create one to wrap it around.
the usage of the function is pretty simple:
xCopySkin [node source] [node target]
node source: the source object, must have a skin modifier applied (or you'll get an error)
node target: the target object, if the topology is not the same you'll get unexpected results