DuAEF.DuAE

After Effects Tools
Author:
  • Nicolas Dufresne, Kevin Masson and contributors
License:
  • GPL-3.0
    DuAEF is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    DuAEF is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with DuAEF. If not, see http://www.gnu.org/licenses/.

Namespaces

App

Comp

Layer

Project

Property

Members

static, readonly Axis :int

The axis or channels
Properties:
Name Type Description
X int
Y int
Z int
RED int
GREEN int
BLUE int
ALPHA int
HUE int
SATURATION int
VALUE int

static compactExpressions :Object

Associative array that converts property match names to their compact English expression statements.
Example
DuAEF.DuAE.compactExpressions["ADBE Transform Group"]
//returns "'transform'"

static, readonly LayerAttributes :string

Attributes of layers in Ae
Properties:
Name Type Description
SELECTED string
VISIBLE string
AUDIO string
SOLO string
LOCKED string
SHY string
EFFECTS_ENABLED string
MOTION_BLUR string
THREE_D string
GUIDE string

static, readonly LayerPlacements :int

How to place new layers
Properties:
Name Type Description
BOTTOM int
UNDER_LAYER int
ABOVE_LAYER int
TOP int

static, readonly LayerTypes :string

Types of layers used by Ae
Properties:
Name Type Description
NULL string
SOLID string
SHAPE string
TEXT string
ADJUSTMENT string
LIGHT string
CAMERA string

static, readonly menuCommandID :int

Menu Command Ids
These are the ids which can be found using app.findMenuCommandID("insertMenuNameHere");
Use app.executeCommand(id) to run them.
Properties:
Name Type Description
CUT int
COPY int
COPY_WITH_PROPERTY_LINKS int
PASTE int
DUPLICATE int
Example
app.executeCommand(DuAEF.DuAE.menuCommandID.COPY); //copies the selection
app.executeCommand(DuAEF.DuAE.menuCommandID.PASTE); //pastes the selection

static, readonly Types :int

Types of values
Properties:
Name Type Description
VALUE int
VELOCITY int

Methods

static convertCollectionToArray(collection) → {Array}

Converts an AE Collection to an Array
Should only be used in case you need an copy of the collection as an Array,
you should use an Iterator otherwise
Parameters:
Name Type Description
collection Array | Collection The collection to convert
Returns:
Array - The array

static getPropertyInfos(props) → {Array.<PropertyInfo>}

Gets the PropertyInfo for the properties
Parameters:
Name Type Description
props Array.<PropertyBase> The Properties
Returns:
Array.<PropertyInfo> - The info

static isCollection(collection) → {boolean}

Checks if the param is an AE collection or an Array
Parameters:
Name Type Description
collection Array | Collection The list to check
Returns:
boolean - true if collection is a collection, false if it's an array