Introduction to Maya - Modeling Fundamentals Vol 1
This course will look at the fundamentals of modeling in Maya with an emphasis on creating good topology. We'll look at what makes a good model in Maya and why objects are modeled in the way they are.
# 1 28-01-2016 , 08:20 AM
Registered User
Join Date: Sep 2015
Posts: 4

MEL joint name

Hi, i'm trying make a simple skinning script and I stuck on:

first I selecting egdes after I do "go to vertex", after I selecting joint where should be added influence
now where is print "$selectJoint" MEL showing me a vertex names (), but not a joint name.
This joint name I wanna use here "setSmoothSkinInfluence $selectJoint[1];" so maya will know where and for which joint she need put Influence (on this part I will work late)
any ideas how to get joint name?

HTML Code:
ConvertSelectionToVertices;
   ArtPaintSkinWeightsTool;
   artAttrSkinWeightTypeCallback artAttrSkinPaintCtx;
   
   
        string $selectJoint[1] = `ls -sl`;
       
           buildObjectMenuItemsNow "MayaWindow|formLayout1|viewPanes|modelPanel4|model  Panel4|modelPanel4|modelPanel4ObjectPop";
           setSmoothSkinInfluence $selectJoint[1];
           
    print $selectJoint
Dilan is online now  	Mark this post as useful  Edit/Delete Message  Reply With Quote
Unread Today, 07:32 AM

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads