PDA

View Full Version : mel in backwater bunch



xbenderx
08-31-2006, 07:20 AM
hello, I`m having a problem with the mel section of the part IV of the backwater bunch tutorial...
When I execute....




showChannelsLayers "Channel Box/ Layer Editor"

...in the script editor it doesn`t show the channels box and the editor returns the following error message




// Error: showChannelsLayers "Channel Box / Layer Editor"; // // Error: Wrong number of arguments on call to
showChannelsLayers. //


I`m using maya 8.0 and win XP

Can anybody, please help me???

Thanks

purplecoin
11-04-2006, 08:06 PM
Where do I find the mel in my BWB 4? The only one I found is

sphere;

How does this rivet the black ball to the white white ball?

I'm using Maya 7.

BetelGeist
03-21-2010, 07:25 PM
Howdy. having the exact same error when i go through this Mel tutorial. Ive searched the forums and google and i cant find a solution. Also when I deselect my jaw bone, i no longer can use the custom channel box to move the rotations i have loaded into it. ALSO when i select say rotae x y and z, load them in the custom channel box, THEN try to tweak just one of them. they all move.. here is the script ive created while watching the tut.

global proc my_chb(){

//
//
// store the original selection
$myObj = `ls -sl`;

// store the selected attrs
$myAttr = `channelBox -q -sma mainChannelBox`;

// if the UI exists then delete the old one
if (`window -q -exists my_chbWin`) deleteUI my_chbWin;

window -w 400 -h 300 -title "my custom channel box" my_chbWin;

columnLayout;
text -label "please select the channels in the channel box";
text -label "";
separator -w 300;

for ($myNode in $myAttr){

// create the fields for the attr

$myObjAttr = ($myObj[0] + "." + $myNode );


attrControlGrp -attribute $myObjAttr -label $myObjAttr ;

}

// end of FOR loop


rowLayout -nc 3;
button -label "reload" -c "source my_chb; my_chb;";

button -label "close" -c "deleteUI my_chbWin";

button -label "channel box"
-c "showChannelsLayers \"Channel Box / Layer Editor\"";

showWindow my_chbWin;

}


i am using maya 2009 windows
someone please help.