Copy link to clipboard
Copied
Hi all.
When I create an expression and connect it with a controller (slider or any other), the expression doesn't automatically update if I change the controller's name. Is there a way to make it after updating it?
I'm almost sure AE made it in the preview versions, or am I going crazy?
Thanks
Thanks for posting that. I think you may have discovered a bug. Apparently, you have the preference "Expression Pick Whip Generates Compact English" turned off, and in that case, the expression doesn't get updated when you change the name of the control. Changing the preference would be a work-around.
Also, your expression should include what happens if the checkbox is off. I'd change the last part to something like this:
sup == 1 ? 100 : 0
Copy link to clipboard
Copied
I'm not seeing behavior like that. Are you saying that after you change the controller name, the expression generates an error because it now has the wrong name for the controller? If not, that may mean that you have two controllers with identical paths/names and the expression is now finding the other one.
Copy link to clipboard
Copied
I'm not seeing behavior like that. Are you saying that after you change the controller name, the expression generates an error because it now has the wrong name for the controller? If not, that may mean that you have two controllers with identical paths/names and the expression is now finding the other one.
By @Dan Ebberts
Yes. This is exactly my problem. I create a controller, write the expression (using on not the pick whip is the same), and after that, I change the controller name. At that point, the wrong name error message appears.
It never happened to me before this version.
Any idea about what I can do? Thanks
Copy link to clipboard
Copied
Can you post a screen shot that shows the controller, the expression, and the error message?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Thanks for posting that. I think you may have discovered a bug. Apparently, you have the preference "Expression Pick Whip Generates Compact English" turned off, and in that case, the expression doesn't get updated when you change the name of the control. Changing the preference would be a work-around.
Also, your expression should include what happens if the checkbox is off. I'd change the last part to something like this:
sup == 1 ? 100 : 0
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Your syntax doesn't make sense. It's still thisLayer.effect(), not thisLayer("Effects").
Mylenium
Copy link to clipboard
Copied
But this is the sintax that pic whip write for me... So is the pick whip the problem?