about us   links   contact contributors   

  

 

 Home

   Rigging


 
 
 
   
  
  
  Downloads
 Model (.ma)
  
    
  
  
  Tips and Tricks
Adding Buttons to Custom Shelf
You can add buttons to the Custom Shelf by selecting any options from the main menus and holding the SHIFT + Ctrl keys.

You can remove items from the Custom Shelf by MMB and dragging them to the Trash Can Icon on the right of the shelf.
  
    
    

    

    


  Please leave all references to the author intact in all documentation and tutorials.  
 

Terms of Use

 

  
   Robotic Arm : Rigging   

The objective of this tutorial is to Rig a robotic arm.

[level advanced]

 

 

 


global proc fmLockHideSelected()
{
string $selObj[]=`ls -sl`;
for($each in $selObj)
{

setAttr -lock true -keyable false -channelBox false ($each + ".tx");
setAttr -lock true -keyable false -channelBox false ($each + ".ty");
setAttr -lock true -keyable false -channelBox false ($each + ".tz");
setAttr -lock true -keyable false -channelBox false ($each + ".rx");
setAttr -lock true -keyable false -channelBox false ($each + ".ry");
setAttr -lock true -keyable false -channelBox false ($each + ".rz");
setAttr -lock true -keyable false -channelBox false ($each + ".sx");
setAttr -lock true -keyable false -channelBox false ($each + ".sy");
setAttr -lock true -keyable false -channelBox false ($each + ".sz");
setAttr -lock true -keyable false -channelBox false ($each + ".v");
}
}

global proc fmLHWindow()
{
windowPref -remove fmLockHideUI;

if(`window -exists fmLockHideUI`)
{

deleteUI fmLockHideUI;
}
window -title "FM Lock Hide Selected" -width 200 -mxb off -mnb off fmLockHideUI;
columnLayout -adj on mainCol;

button -label "Lock and Hide" -command "fmLockHideSelected" getButton;

showWindow fmLockHideUI;
}

      

copyright FridgeMonsters.com
all rights reserved forever!!