Namespace: DuAEExpression

DuAEExpression

After Effects expression tools

Namespaces

Library
Library

Members

static,readonlyDuAEExpression.BakeAlgorithmint

The different modes available to bake expressions
Properties:
Name Type Default Description
SMART int 0
PRECISE int 1

staticDuAEExpression.Idstring

The list of expression IDs, added at the beginning of generated expressions.
Properties:
Name Type Default Description
LINK string /*== DuAEF: property link ==*/

Methods

staticDuAEExpression.applyCache()

D:/RxLab/src/RxOT/DuAEF/Duik/Duik_API/DuAEF_Duik_api.jsxinc, line 21830
Applies all the expressions stored in the cache to the actual properties in After Effects, if and only if they've been modified.

staticDuAEExpression.doInExpresssions(func, selectionMode, updateCache, apply)

D:/RxLab/src/RxOT/DuAEF/Duik/Duik_API/DuAEF_Duik_api.jsxinc, line 21813
Runs a function on all expressions
Name Type Default Description
func function The function to run, which takes one param, a DuAEPropertyExpression object.
selectionMode bool false optional What to update
updateCache boolean true optional When false, the cache won't be updated before running the function. Set this to false if you already have updated the cache to improve performance.
apply boolean true optional When false, the cache won't be applied back to Ae. Set this to false if you need to run other methods on expressions before applying the result to improve performance.

staticDuAEExpression.scriptifyExpression(prop, varName){string}

D:/RxLab/src/RxOT/DuAEF/Duik/Duik_API/DuAEF_Duik_api.jsxinc, line 21842
Converts the expression as a string which can be copy/pasted and included in a script.
Name Type Description
prop Property | DuAEProperty | string The property containing the expression or the expression itself.
varName string optional A name for the variable
Returns:
Type Description
string The stringified expression.

staticDuAEExpression.updateCache(selectionMode)

D:/RxLab/src/RxOT/DuAEF/Duik/Duik_API/DuAEF_Duik_api.jsxinc, line 21775
Updates the cache of the expressions used by Duik to speed up batch process of expressions in the whole project.
It's automatically run when needed if it's not been updated in a long time (1 mn) or if it's empty
Name Type Default Description
selectionMode bool DuAE.SelectionMode.ALL_COMPOSITIONS optional What to update