You can run mel from python:
import maya.mel as mel
mel.eval('findRelatedSkinCluster '+name_of_mesh)

On Thu, Feb 3, 2011 at 9:41 AM, GerardVOK <[email protected]> wrote:

> Hi. I am looking for a way to determine the skinCluster that is
> related to a mesh. Maya came with a "findRelatedSkinCluster" mel
> script, but doesnt have this as a py script. I will end up writing my
> own procedure but unlike my Mel experience, I am very new to python
> and this will take some time. I guess I could always run the mel
> script in the python script but that just seems dirty..
>
> If there is anyone out there who may have a solution, I would
> appreciate your help.
>
> Thanks
> Gerard Van Ommen
> Australia
>
> --
> http://groups.google.com/group/python_inside_maya
>

-- 
http://groups.google.com/group/python_inside_maya

Reply via email to