Thank you so much for your help!
This was what I got:
// Error: Attribute not found or variable missing '$': translateX //
Your script didn't work for my particular problem because, I think, it wants to know which object's "translateX" attribute to change, and of course I can't write "polysurface2.translateX" into every expression, because it needs to be different for each object; specifically, it needs to change depending on each object's individual translateX. Is there any way to write "polysurface"*(wildcard or something)".translateX?
If I just copied your script the way it was, it worked, but of course it just made the visiblity of all of the objects "0". Also, it doesn't attach the expression to the objects .visibility channel in the channel editor, but rather affects the visibilty radio button in the Object Display portion of the attribute editor. That's not necessarily a bad thing, it just freaked me out- i was like, where did everything go?!
By the way, the "divisors" node is an empty node which has two custom attributes, frameDiv and txDiv. This is just a place I can put 2 integers which will be attached to all of the expressions, so if, for example, I want to change the factor by which I am dividing the frame for ALL the expressions, I just change the value in divisors.frameDiv instead of doing them all individually.
Any more help and I'm sending you donuts,
Cameron
ps where did you learn how to mel script? I wanna do it too!