Skip to main content
Participant
March 13, 2023
Answered

After 2023 Expression doesn't update

  • March 13, 2023
  • 2 replies
  • 1278 views

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

This topic has been closed for replies.
Correct answer Dan Ebberts

I Attached the Expression Error.

This happens with any expression and any controllers.


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 

2 replies

Mylenium
Legend
March 14, 2023

Your syntax doesn't make sense. It's still thisLayer.effect(), not thisLayer("Effects").

 

Mylenium

Participant
March 14, 2023

But this is the sintax that pic whip write for me... So is the pick whip the problem?

Dan Ebberts
Community Expert
Community Expert
March 13, 2023

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.

Participant
March 14, 2023
quote

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

Dan Ebberts
Community Expert
Community Expert
March 14, 2023

Can you post a screen shot that shows the controller, the expression, and the error message?