Hi!
I'm still somewhat new to expressions and MEL. Please correct me if I'm wrong, but as I understand it, MEL and the expression language are different, so if something will work in one, it won't necissarily work in the other??
What I'm trying to do is make a swich of some sort that will reset my character to it's default neutral pose. To do this I was going to make an boolean attribute and write an expression for it.
What I don't know is what the scripting for changing the value of something in the expression editor, it seems. In the Script Editor:
setAttr "name.channel" #;
works to change attributes, but that very same line won't have any effect in the expression editor. What is the code I need to do this??
I can't just write:
if (my controll == on)
{Object.Attribute=number}
Becuase than the values of my objects that I'm trying to change get frozen and I can't change them anymore at all, which is NOT what I want.
SO!
Can anyone help me with this please??
Am I on the complete wrong path in thinking that an expression is what I need to accomplish this?