ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Control Essential Graphics Panel via scripting.

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Andrei Popa
Control Essential Graphics Panel via scripting.
on Apr 18, 2019 at 8:00:49 am

Is it possible to add properties to the essential graphics panel and to modify them via scripting?

My Envato portfolio.

Return to posts index

Misha Butenko
Re: Control Essential Graphics Panel via scripting.
on May 27, 2019 at 6:32:28 pm

Use method: addToMotionGraphicsTemplate()

app.project.item(index).layer(index).propertySpec.addToMotionGraphicsTemplate(comp) Add the property to the Essential Graphics panel for the specified composition. Returns true if the property is successfully added, false otherwise. If the property is not added, it is either because it is not one of the supported property types or the property has already been added to that composition. After Effects will present a warning dialog. Use the canAddToMotionGraphicsTemplate() method to test whether the property can be added to a Motion Graphics template.

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2020 All Rights Reserved