global proc spooBoundHider() { string $currentSelection[]= `ls -sl`; string $bounds[]; int $index = 0; string $children[] = `listRelatives -ad -type "transform" -children "hider"`; for($child in $children) { if(`gmatch $child "*bound*"`) { hide $child; } } }