After Effects Tools
- Copyright:
- 2017,2018 Nicolas Dufresne, Rainbox Productions
https://rainboxprod.coop
- 2017,2018 Nicolas Dufresne, Rainbox Productions
- 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/.
- GPL-3.0
Namespaces
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, readonly ColorLabels
-
Default color labels
- To Do:
-
- get real labels (from pref file?)
-
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 LayeredTypes
-
List of file extensions whih may be imported as several items with the same source
-
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 LoopTypes :string
-
Loop types
Properties:
Name Type Description HOLD
string NONE
string CYCLE
string PINGPONG
string OFFSET
string CONTINUE
string -
static, readonly menuCommandID :int
-
Menu Command Ids
These are the ids which can be found usingapp.findMenuCommandID("insertMenuNameHere");
Useapp.executeCommand(id)
to run them.Properties:
Name Type Description CUT
int COPY
int COPY_WITH_PROPERTY_LINKS
int PASTE
int DUPLICATE
int UNDO
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 -
static, readonly Units :string
-
Abbreviated units used in the UI.
These strings are localized based on internal After Effects dictionnaries.Properties:
Name Type Description PIXELS
string DEGREES
string PERCENT
string -
static, readonly UnitsText :string
-
Units used in the UI
These strings are localized based on internal After Effects dictionnaries.Properties:
Name Type Description PERCENT
string DEGREES
string PIXELS
string
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 anIterator
otherwiseParameters:
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 -
static isLayeredFile(fileopt) → {boolean}
-
Checks if the file is a layered type (psd, ai, psb, fla...)
Parameters:
Name Type Attributes Description file
String | File <optional>
The file or the path Returns:
boolean - true if it's a layered file