DuAEF.TVPaint

TVPaint interchange tools

Namespaces

camera

ClipInfo

Json

Members

static BlendingModes

Associative array to convert blending modes from TVPaint to After Effects

static PrePostBehaviours

Associative array to convert TVPaint pre and post behaviours indices to After Effects loops

Methods

static importClip(clipFile, askLayersopt)

Imports a clip exported from TVPaint with the MJ_AFX_Export_1.0 tool (TVPaint version < 11) or as JSON (TVPaint version >= 11)
Parameters:
Name Type Attributes Default Description
clipFile File The clipinfo.txt or json file to import. If a string is provided instead of a File object, it will be used as a path for the file.
askLayers boolean <optional>
false True to display a dialog to select the layers to import.

static importData(data)

Imports a clip
Parameters:
Name Type Description
data Object The clip data returned by either DuAEF.TVPaint.ClipInfo.parseFile() or DuAEF.TVPaint.Json.parseFile().

static setBlendingMode(layer, blendName)

Sets the blending mode of an AE Layer based on the TVPaint blend mode name
Parameters:
Name Type Description
layer AVLayer The layer
blendName string The TVPaint blending mode name