Skip to content

Commit

Permalink
Added getMatchName() and remove()
Browse files Browse the repository at this point in the history
Added getMatchName() and remove()
  • Loading branch information
bbb999 committed Sep 21, 2020
1 parent ce445cb commit 51023e7
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 1 deletion.
1 change: 0 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"restructuredtext.workspaceRoot": "${workspaceFolder}",
"restructuredtext.confPath": "${workspaceFolder}",
}
50 changes: 50 additions & 0 deletions docs/item/trackitem.rst
Original file line number Diff line number Diff line change
Expand Up @@ -350,3 +350,53 @@ Argument Type Description
**Returns**

Returns **0** if successful.


----

.. _trackItem.getMatchName:

TrackItem.getMatchName()
*********************************************

| ``app.project.sequences[index].audioTracks[index].clips[index].getMatchName()``
| ``app.project.sequences[index].videoTracks[index].clips[index].getMatchName()``
**Description**

Retrieves the match name for the trackItem.

**Parameters**

None.

**Returns**

Returns the match name as a **String** if successful.

----

.. _trackItem.remove:

TrackItem.remove()
*********************************************

| ``app.project.sequences[index].audioTracks[index].clips[index].remove(inRipple, inAlignToVideo)``
| ``app.project.sequences[index].videoTracks[index].clips[index].remove(inRipple, inAlignToVideo)``
**Description**

Sets the selection state of the trackItem.

**Parameters**

================== ============ =======================
Argument Type Description
================== ============ =======================
``inRipple`` ``Boolean`` If ``1``, later track items will be moved earlier, to fill the gap; if ``0``, later track items will remain in place.
``inAlignToVideo`` ``Boolean`` If ``1``, Premiere Pro will align moved track items to the start of the nearest video frame.
================== ============ =======================

**Returns**

Returns **0** if successful.

0 comments on commit 51023e7

Please sign in to comment.