Hello! I'm super curious about this because I'm running into the same challenge as you, only I feel like you have even more scripting knowledge than I do! Your solution seems like it would work for my purposes as well - what did your expression look like in the end?Hello Guys sorry it was a silly question I just made the scales = vibility hehehe in an expression a made it accessible to all selected objects, it's very silly.
string $sel[] = `ls -sl`; for ($obj in $sel) { delete -staticChannels -unitlessAnimationCurves false -hierarchy 0 -controlPoints 0 -shape 0 $obj; // remove static channels connectAttr ($obj + ".visibility") ($obj + ".scaleX"); connectAttr ($obj + ".visibility") ($obj + ".scaleY"); connectAttr ($obj + ".visibility") ($obj + ".scaleZ"); }