Showing posts from June, 2012
setAttr on multiple attributes 1 hour burn trying to figure out how to set the 'relative' attribute on or off on multiple clusters. Maya still doesn't allow multiple selection of clusters and attribute setting nor is relative available in the attribute spreadsheet. { string $nodes[] = `ls -long -type "cluster" `; for($node in $nodes) { print($node + "n"); setAttr ($node + ".relative") 0; } }