-
Expression that can read the framerate of a nested comp.
Hello everyone,
I am looking for an expression that can read the framerate of a nested composition.
I have a project in which there are many different specs. Different formats and framerates. To give me an overview of all formats, I have created a composition in which all final animations are embedded as nested comps. This gives me a composition in which I have an overview of all the different formats and the respective designs.
To further simplify the overview, I have created a text layer for each nested comp, on which there is an expression that recognizes the size of the respective nested comp.
Unfortunately, I can’t currently find a solution for scanning the framerate as well as the size of the nested comp.
Does anyone have a solution for me?
Here is the expression that recognizes the size of the nested comp and displays it on the text layer:
var input = thisComp.layer(index+1);
var CompHeight = input.height;
var CompWidth = input.width;
var Devider = ” x “;
var CompSize = CompHeight + Devider + CompWidth;
[CompSize]
Thank you in advance for your help !