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

Checkbox (MOGRT) ne fonctionne pas dans Premiere Pro

New Here ,
Jun 10, 2021 Jun 10, 2021

Copy link to clipboard

Copied

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).

4. Export

Est-ce que j'ai loupé un truc ?

Merci encore de votre aide.

Cordialement

Manu

 

TOPICS
Expressions

Views

1.1K

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

Valorous Hero , Jun 10, 2021 Jun 10, 2021

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/

...

Votes

Translate

Translate
Valorous Hero ,
Jun 10, 2021 Jun 10, 2021

Copy link to clipboard

Copied

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.

Motion Graphics Brand Guidelines & Motion Graphics Responsive Design Toolkits

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 ,
Jun 10, 2021 Jun 10, 2021

Copy link to clipboard

Copied

Bonour Roland, merci pour ta réponse.

voici le screenshot

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
Valorous Hero ,
Jun 10, 2021 Jun 10, 2021

Copy link to clipboard

Copied

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

 

 

 

 

Motion Graphics Brand Guidelines & Motion Graphics Responsive Design Toolkits

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 ,
Jun 10, 2021 Jun 10, 2021

Copy link to clipboard

Copied

Merci pour votre réponse.

Est-ce que comme ça cela convient ?

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
Valorous Hero ,
Jun 10, 2021 Jun 10, 2021

Copy link to clipboard

Copied

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

{100}

 

// if Checkbox is off then set Opacity value to 0

else  {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

{100}

 

// if Checkbox is on then set Opacity value to 0

else  {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

HTH

Motion Graphics Brand Guidelines & Motion Graphics Responsive Design Toolkits

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 ,
Jun 10, 2021 Jun 10, 2021

Copy link to clipboard

Copied

Thank you very much, it works goond on AE, but on Premiere Pro, nothing happens... No layer are displayed 😞

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
Valorous Hero ,
Jun 10, 2021 Jun 10, 2021

Copy link to clipboard

Copied

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

Motion Graphics Brand Guidelines & Motion Graphics Responsive Design Toolkits

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 ,
Jun 11, 2021 Jun 11, 2021

Copy link to clipboard

Copied

Je ne sais vraiment ce qui arrive... J'ai fait celà suite à vos conseils mais c'est toujours pareil dans PPro...

Voici le MOGRT https://www.dropbox.com/s/79qie51oiccb193/column-animation-side.mogrt?dl=0

Si vous voulez voir ce qu'il se passe ?

Merci encore pour votre aide Roland !

Cordialement,

Manu

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
Valorous Hero ,
Jun 11, 2021 Jun 11, 2021

Copy link to clipboard

Copied

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

Motion Graphics Brand Guidelines & Motion Graphics Responsive Design Toolkits

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 ,
Jun 14, 2021 Jun 14, 2021

Copy link to clipboard

Copied

LATEST

Pas de problème Roland, merci pour ton aide précieuse !Et bon courage pour tes projets 😉

Bonne journée.

Manu

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 ,
Jun 10, 2021 Jun 10, 2021

Copy link to clipboard

Copied

 

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