Skip to content

Commit

Permalink
Updated Methods added
Browse files Browse the repository at this point in the history
TrackItem.importMGT() and TrackItem.importMGTFromLibrary() added to documentation
  • Loading branch information
dmcsweenadobe committed Oct 27, 2022
1 parent 2d3116a commit 8c6fc65
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions docs/item/trackitem.rst
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,63 @@ A Component object representing the parameters of the .mogrt, which the creator

----


TrackItem.importMGT()
*********************************************

| ``app.project.sequences[index].videotracks[index].importMGT``
| ``app.project.sequences[index].audiotracks[index].importMGT``
**Description**

Imports an After Effects Motion Graphics Template - a Mogrt - to the selected track at the specified time.

**Parameters**

================== ============ =======================
Argument Type Description
================== ============ =======================
``path`` ``String`` Full path to a valid .mogrt, created in After Effects
``time`` ``String`` time at which to insert .mogrt, in ticks
``vidTrackOffset`` ``Integer`` how many tracks from the zero-th video track, into which to insert .mogrt content
``audTrackOffset`` ``Integer`` how many tracks from the zero-th audio track, into which to insert .mogrt content.
================== ============ =======================

**Returns**

A trackItem object representing the parameters of the .mogrt, which the creator has exposed.

----

TrackItem.importMGTFromLibrary()
*********************************************

| ``app.project.sequences[index].videotracks[index].importMGTFromLibrary()``
| ``app.project.sequences[index].audiotracks[index].importMGTFromLibrary()``
**Description**

Imports an After Effects Motion Graphics Template - a Mogrt - from the cuurently logged on user's Library, to the selected track at the specified time.

**Parameters**

================== ============ =======================
Argument Type Description
================== ============ =======================
``libraryName`` ``String`` name of Library (available to the currently logged-in user)
``mgtName`` ``String`` name of .mogrt within that library
``time`` ``String`` time at which to insert .mogrt, in ticks
``vidTrackOffset`` ``Integer`` how many tracks from the zero-th video track, into which to insert .mogrt content
``audTrackOffset`` ``Integer`` how many tracks from the zero-th audio track, into which to insert .mogrt content.
================== ============ =======================

**Returns**

A trackItem object from the user's Library, representing the parameters of the .mogrt which the creator has exposed.

----


TrackItem.getSpeed()
*********************************************

Expand Down

0 comments on commit 8c6fc65

Please sign in to comment.