View Single Post
# 2 13-02-2009 , 02:21 PM
bendingiscool's Avatar
Subscriber
Join Date: Jul 2006
Location: London
Posts: 567
This should work for you...

string $sel[] = `ls -sl`;

for($i=0;$i<size($sel);$i++){
setAttr ($sel[$i] + ".primaryVisibility") 0;
}

Just select all your objects and run the code.

Chris