Hmm... I wish I could help, as I could swear I got an error similar to
this at one point. I have a fuzzy memory that the message was a
little misleading - one of the other arguments was actually of the
incorrect type, or somesuch (I'm guessing it complains about the 4th
arg not being an int because it just tries all the different
call-signatures in some arbitrary order - if it doesn't match any, it
just gives the error message for whatever the last call-signature it
happened to try was...?).
Anyway, when I made that call, i used:
mfnSkin.setWeights(an_MDagPath,
a_component_MObject,
an_MIntArray,
an_MDoubleArray,
False,
another_MDoubleArray)
(If you're curious, you can take a look at some code that makes such a
call at: http://github.com/elrond79/pmHeatWeight)
Definitely worth using this version of the call if you can get it to
work, as the time savings are VERY big over the single-influence
version.
- Paul
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---