ClipProjectItem

Properties

Name
Type
Access
Min Version
Description
type
number
R
25.0
Get the type of the Project Item.
name
string
R
25.0
The name of this project item.

Static Methods

cast

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

ClipProjectItem

Cast ProjectItem in to ClipProjectItem

Parameters

Name
Type
Description
projectItem
ProjectItem
-

Instance Methods

attachProxy

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

boolean

Attach proxy or high resolution footage to projectItem and returns true if successful. Not undoable.

Parameters

Name
Type
Description
mediaPath
string
-
isHiRes
boolean
-
inMakeAlternateLinkInTeamProjects
boolean
-

canChangeMediaPath

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

boolean

Returns true if Premiere Pro can change the path associated with this project item; otherwise, returns false

canProxy

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

boolean

Indicates whether it is possible to attach a proxy to this project item.

changeMediaFilePath

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

boolean

Change media file path of projectItem and returns true if successful. Not undoable.

Parameters

Name
Type
Description
newPath
string
-
overrideCompatibilityCheck
boolean
-

createClearInOutPointsAction

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

Action

Create Clear the in or out point of the Project item action

createSetColorLabelAction

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

Action

Create an action for set color label to projectItem by index

Parameters

Name
Type
Description
inColorLabelIndex
number
-

createSetFootageInterpretationAction

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

Action

Set the footage interpretation object for project item

Parameters

Name
Type
Description
footageInterpretation
FootageInterpretation
-

createSetInOutPointsAction

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

Action

Set the in or out point of the Project item

Parameters

Name
Type
Description
inPoint
TickTime
-
outPoint
TickTime
-

createSetInPointAction

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

Action

Returns an action which Sets the in point of the Project item

Parameters

Name
Type
Description
tickTime
TickTime
-

createSetInputLUTIDAction

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

Action

Create action for setting Guid of Input LUT on media. This applies for Video Clips only.

Parameters

Name
Type
Description
stringLUTID
string
-

createSetNameAction

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

Action

Returns action that renames projectItem

Parameters

Name
Type
Description
inName
string
-

createSetOfflineAction

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

Action

Returns an action which sets the media offline

createSetOutPointAction

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

Action

Returns an action which Sets the out point of the Project item

Parameters

Name
Type
Description
tickTime
TickTime
-

createSetOverrideFrameRateAction

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

Action

Returns an action which sets the override frame rate

Parameters

Name
Type
Description
inOverriddenFrameRateValue
number
-

createSetOverridePixelAspectRatioAction

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

Action

Returns an action which sets Override pixel aspect ratio

Parameters

Name
Type
Description
inNumerator
number
-
inDenominator
number
-

createSetScaleToFrameSizeAction

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

Action

Returns an action which sets the scale to frame to true

findItemsMatchingMediaPath

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

ProjectItem[]

Returns array of project's items with media paths containing match string

Parameters

Name
Type
Description
matchString
string
-
ignoreSubclips
boolean
-

getColorLabelIndex

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

number

Get color label index of projectItem

getComponentChain

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

string

Gets the component chain associated with this project item.

Parameters

Name
Type
Description
mediaType
Constants.MediaType
Media type can be audio, video or data/caption

getContentType

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

Constants.ContentType

Get content type of the Project item

getEmbeddedLUTID

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

string

Get GUID of LUT embedded in media

getFootageInterpretation

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

FootageInterpretation

Get the footage interpretation object for project item

getInPoint

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

TickTime

Get the in point of the Project item

Parameters

Name
Type
Description
mediaType
Constants.MediaType
Media type can be audio, video or data/caption

getInputLUTID

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

string

Get Guid of Input LUT overridden on media

getMedia

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

Media

Return media associated with clipProjectItem

getMediaFilePath

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

string

Get the media file path of the Project item.

getOriginatingProjectPath

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

string

Return originating project path associated with clipProjectItem

getOutPoint

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

TickTime

Get the out point of the Project item

Parameters

Name
Type
Description
mediaType
Constants.MediaType
Media type can be audio, video or data/caption

getProject

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

Project

Get the parent Project of this projectItem.

getProxyPath

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

string

Returns the proxy path if the project item has a proxy attached

getSequence

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

Sequence

Get the sequence of the Project item

hasProxy

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

boolean

Indicates whether a proxy has already been attached to the project item.

isMergedClip

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

boolean

Returns true if the clip Project item is a merged clip

isMulticamClip

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

boolean

Returns true if the clip Project item is a multicam clip

isOffline

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

boolean

Returns true if the media is offline

isSequence

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

boolean

Returns true if the project item is a sequence

refreshMedia

<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">25.0</span>

boolean

Updates representation of the media associated with the project item