Hello everyone, I've been trying to get a hold of this but I'm quite new to MEL and expressions.
I created simple expression that changes visibility of object if its translate attribute changes
if (pCube1.translateX > 0)
pCube1.visibility = 1;
pCube1.visibility = 0;
now I need to add this expression to all shuttered objects that I created and I think it can probably be done with MEL command somehow, for example executing code on all selected objects to apply my if else expression on all of them, but I just keep getting errors.
This is probably really easy for someone who knows programming so please help :) ...thanks