Activity › Forums › Adobe After Effects Expressions › [Problem] Access multiple JSON files with RegEx and dynamically calculate y-Axis
-
[Problem] Access multiple JSON files with RegEx and dynamically calculate y-Axis
Leonie Wercker replied 5 years, 5 months ago 4 Members · 13 Replies
-
Filip Vandueren
February 20, 2021 at 1:40 pmYou wouldn’t see them at all at opacity=0;
You can also position them offscreen or set their scale to [0,0] with an if/else in those parameters.
Either way: there is no way to delete layers with an expression, that would have to be achieved with a script.
-
Filip Vandueren
February 20, 2021 at 1:45 pmI’m sorry, I didn’t realize you were using a line with nulls…
Don’t know if the original project is still reflecting what your code looks like now, but in that getNullLayers() loop, you can add the condition of i < data.length, to stop adding more nulls to the list.
-
Leonie Wercker
February 20, 2021 at 2:54 pm
Reply to this Discussion! Login or Sign Up