February 8, 2010

Connect Mesh script

This is just a little melscript to connect the geometry of two selected objects. Its better off as a button for me as I use it quite frequently.


// Make mesh connection between first to second object in selection
string $select[] = `ls -sl -dag -lf`;
$str1 = $select[0] + ".outMesh";
$str2 = $select[1] + ".inMesh";
connectAttr -f $str1 $str2;

No comments:

Post a Comment