I'm trying to get weights of the skinCluster. My function works for most of the objects, but it fails on one.
Here's the code:
skin_cluster_node = pm.PyNode(skin_cluster_str)
It prodces an error:
RuntimeError: (kInvalidParameter): Object is incompatible with this method
The mesh is a normal mesh, I do not know what is special about it. Can someone help me?