Hi I need some help wih an expression I like to use in my upcoming template.
What I need is to adjust an effects drop down menu (choose one of four listed in that menu) from the "main comp"
Example: I have a blur effect and want to choose if it is 1.horizontal, vertical or both)
Thanks
Hi Pixamins. Is it your meaning?
1 Like
Thanks a lot To motion but I just need to select one of these included in the drop down menu not to give values
Thanks Mr motion I think what I need is less complicated but maybe I have not explain it well (wrong example given).
So I have an effect with a quality drop down menu (see attached) and I want to affect preview from the “Controller” layer of the “main comp” THATS EXACTYLY WAT I NEED.
Something like this:
if (comp(“Main Comp”).layer(“CONTROLS”).effect(“Render Quality Switch”)(“Checkbox”) == 0) 0 else 100
So if check Render Quality (Slow)
If unchecked = Preview Quality (Fast)
Thanks a lot
Thanks again for quick replying!! What I need to control is not percentage values is whether I have on the render quality or the preview quality. With that said I think that I need a checkbox switch so that I can select the desired quality.
Thanks again
Only checkbox can control these options, you can’t control them by percentage values.
I guess you are using E3D effects and you can follow the images bellow:
- Use 3 Checkboxes on Control layer. These expressions in Control layer are auto deselect a Checkbox when you check on another Checkbox.
- Duplicate E3D 3 times. Shutdown, Rename and change Render Mode of them and use these expressions. Now if you check on Full Render mode then E3D in Full Render mode, if you change to Preview mode then E3D change to Preview mode.
i will need one more step please.
I am afraid to duplicate the e3d to many times! In term of how heavy the project will finally be.
I was hopping/looking for a way to script select inside the drop down menu.
In case there is no such a way maybe one switch will do. one check box only to toggle render and preview quality.
P.s.
As you understand I am new to E3d. So my question is if there is a way to include the . Obj model in Ae collect folder to avoid the “replace model”
Thanks again.
It’s very simple if you only need Full Render and Preview mode. Just use this expression (Change value 2->3 if you want to see Draft mode):
if(comp("Main Comp").layer("Controller").effect("Checkbox Name")("Checkbox")==1) 1 else 2
Yes, you can include the obj file in your template.
WOW !!! Thanxs a lot !!! Solved !!!
Concerning the .obj collect it seems that when using the “Collect Files” function inside of After Effects, models and textures are not able to be collected!!!
Files must be manually collected and relinked when transferred.
Check link here:
http://www.videocopilot.net/docs/element/sharing_and_transferring_projects/relinking_missing_files/
Many thanks
Pixamins
1 Like