Press "Enter" to skip to content

aoMirrorAll

[code lang="c"]
// 
// aoKit
// Andrew Odendaal's Maya Script Kit
// Software developed by Andrew Odendaal
// Code compatible with versions 7 - 8.5
//
// Author : Andrew Odendaal
// E-mail : [email protected]
// Website: http://www.andrewodendaal.com
// 

// mirroring anything with Duplicate Graphs
global proc aoKitMirrorItemAll()
{
	Group;

	string $grpSelection[0] = `ls -sl`;
	rename $grpSelection[0] "groupD1000";

	duplicate -rr -un;
	move 0 0 0 groupD1000.scalePivot groupD1000.rotatePivot ;

	setAttr "groupD1000.scaleX" -1;
}
[/code]