Activity › Forums › Adobe After Effects Expressions › Sync Drop down menu with an effect drop down menu
-
Sync Drop down menu with an effect drop down menu
Posted by Maria Pixamins on March 12, 2024 at 7:42 pmI REALLY need to sync an effect drop down menu – Saber presets
to the “expressions controls” drop down menu.
Any ideas?
Maria Pixamins replied 2 years, 2 months ago 2 Members · 4 Replies -
4 Replies
-
Dan Ebberts
March 12, 2024 at 8:29 pmI don’t think there’s any way to access the names of the effect menu items, either through expressions or scripting, if that’s what you mean.
-
Maria Pixamins
March 12, 2024 at 9:08 pmThe only way might be to duplicate the effect layer 10 times for example. All ten (layer) versions will include different drop down menu setting. Then I will include those 10 different options in an effect drop down menu via opacity.
P.S
I remember I did manage to use the element 3D effect drop down menu – render quality – in a check box controller so selecting the controller on or off I did managed to switch the effects E3D drop down menu for render quality between High quality and draft.
-
Dan Ebberts
March 12, 2024 at 10:52 pmYou can put an expression like this on the Preset property to connect it to a dropdown menu, and it will change the preset name as expected, but it doesn’t seem to update the rendered result:
m = effect("Dropdown Menu Control")("Menu").value;
switch(m){
case 1:
r = 3; // Are Reactor
break;
case 2:
r = 4; // Cellular
break;
case 3:
r = 5; // Burning
break;
case 4:
r = 6; // Core
break;
case 5:
r = 7; // Electric
break;
default:
r = 1; // Default
break;
}
r -
Maria Pixamins
March 13, 2024 at 7:02 amYou are right! Although the values are changing they are not rendered.
That’s really weird! Looks like a dead end to me.
P.S.
It’s my honor charting with you sir, you are an expert!
Reply to this Discussion! Login or Sign Up