We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.
Bonjour à tous.
J'ai créé un MOGRT avec After Effects où j'ai deux compositions. J'ai créé un checkbox pour choisir laquelle des 2 activer. Mais une fois dans Premiere Pro, impossible d'activer ou de désactiver. Seule la première composition s'affiche masquant l'autre si je voulais activer l'autre.
Comme je suis débutant avec les MOGRT, voici ce que j'ai fait :
1. ajouter de l'effet checkbox control sur chaque composition
2. lien de l'opacité (effect("Checkbox Control")("Checkbox")*100) avec "checkbox" sur chaque composition
3. Ajout dans Essential Graphics de l'effet "Checkbox" (On/Off).
Est-ce que j'ai loupé un truc ?
Merci encore de votre aide.
The sequence of steps you've provided seem to be correct. However, it's the details that may be the issue.
For example, what is the exact Expression you used and on which layer were these Expressions applied?
How are your compositions structured - a screen capture of your timeline showing the nested comps will be a good insight.
Unfortunately, the Opacity property for the second layer has been cropped off.
Your first layer uses an Expression which if applied to both layers will lead to an end result where both layers will be enabled or disabled. What you want is to only have one layer enabled and this is dependent on the value of the checkbox.
If you still require assistance, I suggest you paste the Expression for BOTH layers. HTH
The way you have set up the Expressions and the Essential Graphics Panel (EGP) is what's causing your issue. You need only ONE Checkbox Control to serve both layers (nested comps). And of course, it is this Checkbox Control that is placed into the EGP.
I suggest you delete both checkboxes and the Expressions and start afresh because it looks like you need to have a better grasp on organizing the setup for Common Properties that will be placed into the EGP. A Common Property is a property used/shared by more than one property.
After deleting the two Checkboxes and Expressions, create a Null Object and name it, "Controller Layer".
Apply a Checkbox Expression Control to this Null.
In the first layer/nested comp, apply this Expression to the Opacity Property -
// check Checkbox for its on-off switch and if it is ON ...
if(thisComp.layer("Controller Layer ").effect("Checkbox Control")(1)==1)
// if Checkbox is on then set Opacity value to 100
// if Checkbox is off then set Opacity value to 0
For the second layer/nested comp, use this Expression. This Expression is similar to the one above except that the values are reversed so that if the Checbox is on then the Opacity value is zero and vice versa.
// check Checkbox for its on-off switch and if it is OFF ...
if(thisComp.layer("Controller Layer ").effect("Checkbox Control")(1)==0)
// if Checkbox is off then set Opacity value to 100
// if Checkbox is on then set Opacity value to 0
By organizing your Common Properties onto an independent layer, it becomes much easier to construct relationships between properties and the Expressions referencing layers and their properties can be easily re-used with a simple copy-paste. HTH
If you've followed the instructions and it works in AE then it should also work in PPro since there isn't any other element or construct that would interfere with the functionality in PPro. Perhaps you are loading an older version of the MoGRT into PPro. I suggest you re-export the MoGRT from AE and give it a new name. HTH
Je ne sais vraiment ce qui arrive... J'ai fait celà suite à vos conseils mais c'est toujours pareil dans PPro...
Si vous voulez voir ce qu'il se passe ?
Merci encore pour votre aide Roland !
I'm working on a very sensitive project and I will not be able to download your file. Hopefully, someone else will be able to open it, and be able to rectify the issue. Regardless, my thoughts are that the cause of the issue is within AE and not PPro. Perhaps you are able to record the procedure you are performing when you export this MoGRT from AE. In your recording, you should also include clear views of all the layers and any Expressions and effects you may have applied. HTH
Pas de problème Roland, merci pour ton aide précieuse !Et bon courage pour tes projets 😉