about us   links   contact contributors   

  

 

 Home

   Rigging


 
 
 
   
  
  
  Downloads
 Model (.ma)
  
    
  
  
  Tips and Tricks
Grow and Shrink Selection
You can grow and shrink the selection of components with > (grow) and < (shrink)
  
    
    

    

    


  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!!