• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit Search
0

After 2023 Expression doesn't update

New Here ,
Mar 13, 2023 Mar 13, 2023

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

TOPICS
Expressions

Views

483

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Mar 14, 2023 Mar 14, 2023

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 

Votes

Translate

Translate
Community Expert ,
Mar 13, 2023 Mar 13, 2023

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 13, 2023 Mar 13, 2023

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 13, 2023 Mar 13, 2023

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 14, 2023 Mar 14, 2023

Copy link to clipboard

Copied

I Attached the Expression Error.

This happens with any expression and any controllers.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 14, 2023 Mar 14, 2023

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 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 15, 2023 Mar 15, 2023

Copy link to clipboard

Copied

LATEST
Damn!!
I completely forgot that button!
I looked for everything, but my mind bypassed it. Usually, in the other
version, the "Expression Pick Whip Generates Compact English" was already
turned off (or I remember so?).

I missed it! Thanks a lot, Dan.
It was so easy and such a dumb problem! 😄

*Dimitri Bertolini*
Tel. 3489342484
mail: dimibertolini@gmail.com
vimeo: https://vimeo.com/dimibertolini

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 14, 2023 Mar 14, 2023

Copy link to clipboard

Copied

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

 

Mylenium

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 14, 2023 Mar 14, 2023

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines