I have been digging into scripting for some time i have watched the mel dvds but ive been wanting to understand more by creating my own scripts but im in need of help.
I know that you can use the setAttr command with a single node, but I am wanting to set attributes to multiple objects within a scene.
this is what i have so far
$allGeo = `ls -geometry`;
setAttr "$allGeo.visibility" 0;
Am i thinking this way?
your help will be greatly appreciated.