Beer glass scene creation
This course contains a little bit of everything with modeling, UVing, texturing and dynamics in Maya, as well as compositing multilayered EXR's in Photoshop.
# 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