DuAEF.DuAE.Project

After Effects project methods

Methods

static getActiveComp() → {CompItem|null}

Gets the After Effects current composition
Returns:
CompItem | null - The current composition or null if there's no current comp

static getComps() → {Array.<CompItem>}

Gets all compositions in the project
Returns:
Array.<CompItem> - The compositions

static getItemById() → {Item|null}

Retrieves an item by its Item ID
Returns:
Item | null - The item

static setProgressMode(inProgress)

Sets the project in "waiting mode" to speed up things.
Parameters:
Name Type Description
inProgress bool True to set progress mode, false to stop it.