# ClipProjectItem

Since: **25.6**

## Properties

+--------------------------------------------------------------+
| Table                                                        |
+:-----+:---------+:-------+:------------+:--------------------+
| Name | Type     | Access | Min Version | Description         |
+:-----+:---------+:-------+:------------+:--------------------+
| type | *number* | R      | 25.6        | Get the type of the |
|      |          |        |             | Project Item.       |
+:-----+:---------+:-------+:------------+:--------------------+
| name | *string* | R      | 25.6        | The name of this    |
|      |          |        |             | project item.       |
+------+----------+--------+-------------+---------------------+

## Static Methods

### cast

Cast ProjectItem in to ClipProjectItem

Since: **25.6**

Returns: *[ClipProjectItem](/premiere-pro/uxp/ppro-reference/classes/clipprojectitem)*

#### Parameters

+---------------------------------------------------------------------------------------------------+
| Table                                                                                             |
+:------------+:----------------------------------------------------------------------+:------------+
| Name        | Type                                                                  | Description |
+:------------+:----------------------------------------------------------------------+:------------+
| projectItem | *[ProjectItem](/premiere-pro/uxp/ppro-reference/classes/projectitem)* | \-          |
+-------------+-----------------------------------------------------------------------+-------------+

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

## Instance Methods

### attachProxy

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

Since: **25.6**

Returns: Promise<*boolean*>

#### Parameters

+-------------------------------------------------------------+
| Table                                                       |
+:----------------------------------+:----------+:------------+
| Name                              | Type      | Description |
+:----------------------------------+:----------+:------------+
| mediaPath                         | *string*  | \-          |
+:----------------------------------+:----------+:------------+
| isHiRes                           | *boolean* | \-          |
+:----------------------------------+:----------+:------------+
| inMakeAlternateLinkInTeamProjects | *boolean* | \-          |
+-----------------------------------+-----------+-------------+

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### canChangeMediaPath

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

Since: **25.6**

Returns: Promise<*boolean*>

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### canProxy

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

Since: **25.6**

Returns: Promise<*boolean*>

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### changeMediaFilePath

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

Since: **25.6**

Returns: Promise<*boolean*>

#### Parameters

+------------------------------------------------------+
| Table                                                |
+:---------------------------+:----------+:------------+
| Name                       | Type      | Description |
+:---------------------------+:----------+:------------+
| newPath                    | *string*  | \-          |
+:---------------------------+:----------+:------------+
| overrideCompatibilityCheck | *boolean* | \-          |
+----------------------------+-----------+-------------+

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### createClearInOutPointsAction

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

Since: **25.6**

Returns: *[Action](/premiere-pro/uxp/ppro-reference/classes/action)*

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### createSetColorLabelAction

Create an action for set color label to projectItem by index

Since: **25.6**

Returns: *[Action](/premiere-pro/uxp/ppro-reference/classes/action)*

#### Parameters

+--------------------------------------------+
| Table                                      |
+:------------------+:---------+:------------+
| Name              | Type     | Description |
+:------------------+:---------+:------------+
| inColorLabelIndex | *number* | \-          |
+-------------------+----------+-------------+

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### createSetFootageInterpretationAction

Set the footage interpretation object for project item

Since: **25.6**

Returns: *[Action](/premiere-pro/uxp/ppro-reference/classes/action)*

#### Parameters

+---------------------------------------------------------------------------------------------------------------------------------+
| Table                                                                                                                           |
+:----------------------+:------------------------------------------------------------------------------------------+:------------+
| Name                  | Type                                                                                      | Description |
+:----------------------+:------------------------------------------------------------------------------------------+:------------+
| footageInterpretation | *[FootageInterpretation](/premiere-pro/uxp/ppro-reference/classes/footageinterpretation)* | \-          |
+-----------------------+-------------------------------------------------------------------------------------------+-------------+

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### createSetInOutPointsAction

Set the in or out point of the Project item

Since: **25.6**

Returns: *[Action](/premiere-pro/uxp/ppro-reference/classes/action)*

#### Parameters

+------------------------------------------------------------------------------------------+
| Table                                                                                    |
+:---------+:----------------------------------------------------------------+:------------+
| Name     | Type                                                            | Description |
+:---------+:----------------------------------------------------------------+:------------+
| inPoint  | *[TickTime](/premiere-pro/uxp/ppro-reference/classes/ticktime)* | \-          |
+:---------+:----------------------------------------------------------------+:------------+
| outPoint | *[TickTime](/premiere-pro/uxp/ppro-reference/classes/ticktime)* | \-          |
+----------+-----------------------------------------------------------------+-------------+

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### createSetInPointAction

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

Since: **25.6**

Returns: *[Action](/premiere-pro/uxp/ppro-reference/classes/action)*

#### Parameters

+------------------------------------------------------------------------------------------+
| Table                                                                                    |
+:---------+:----------------------------------------------------------------+:------------+
| Name     | Type                                                            | Description |
+:---------+:----------------------------------------------------------------+:------------+
| tickTime | *[TickTime](/premiere-pro/uxp/ppro-reference/classes/ticktime)* | \-          |
+----------+-----------------------------------------------------------------+-------------+

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### createSetInputLUTIDAction

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

Since: **25.6**

Returns: *[Action](/premiere-pro/uxp/ppro-reference/classes/action)*

#### Parameters

+--------------------------------------+
| Table                                |
+:------------+:---------+:------------+
| Name        | Type     | Description |
+:------------+:---------+:------------+
| stringLUTID | *string* | \-          |
+-------------+----------+-------------+

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### createSetNameAction

Returns action that renames projectItem

Since: **25.6**

Returns: *[Action](/premiere-pro/uxp/ppro-reference/classes/action)*

#### Parameters

+---------------------------------+
| Table                           |
+:-------+:---------+:------------+
| Name   | Type     | Description |
+:-------+:---------+:------------+
| inName | *string* | \-          |
+--------+----------+-------------+

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### createSetOfflineAction

Returns an action which sets the media offline

Since: **25.6**

Returns: *[Action](/premiere-pro/uxp/ppro-reference/classes/action)*

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### createSetOutPointAction

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

Since: **25.6**

Returns: *[Action](/premiere-pro/uxp/ppro-reference/classes/action)*

#### Parameters

+------------------------------------------------------------------------------------------+
| Table                                                                                    |
+:---------+:----------------------------------------------------------------+:------------+
| Name     | Type                                                            | Description |
+:---------+:----------------------------------------------------------------+:------------+
| tickTime | *[TickTime](/premiere-pro/uxp/ppro-reference/classes/ticktime)* | \-          |
+----------+-----------------------------------------------------------------+-------------+

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### createSetOverrideFrameRateAction

Returns an action which sets the override frame rate

Since: **25.6**

Returns: *[Action](/premiere-pro/uxp/ppro-reference/classes/action)*

#### Parameters

+---------------------------------------------------+
| Table                                             |
+:-------------------------+:---------+:------------+
| Name                     | Type     | Description |
+:-------------------------+:---------+:------------+
| overriddenFrameRateValue | *number* | \-          |
+--------------------------+----------+-------------+

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### createSetOverridePixelAspectRatioAction

Returns an action which sets Override pixel aspect ratio

Since: **25.6**

Returns: *[Action](/premiere-pro/uxp/ppro-reference/classes/action)*

#### Parameters

+--------------------------------------+
| Table                                |
+:------------+:---------+:------------+
| Name        | Type     | Description |
+:------------+:---------+:------------+
| numerator   | *number* | \-          |
+:------------+:---------+:------------+
| denominator | *number* | \-          |
+-------------+----------+-------------+

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### createSetScaleToFrameSizeAction

Returns an action which sets the scale to frame to true

Since: **25.6**

Returns: *[Action](/premiere-pro/uxp/ppro-reference/classes/action)*

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### createSubClipAction

Returns a deferred Action that creates a subclip when committed inside a transaction. hasHardBoundaries: if true, prevents trimming beyond the subclip boundaries. Takes additional options (defaulting to true).

Since: **26.3**

Returns: *[Action](/premiere-pro/uxp/ppro-reference/classes/action)*

#### Parameters

+---------------------------------------------------------------------------------------------------+
| Table                                                                                             |
+:------------------+:----------------------------------------------------------------+:------------+
| Name              | Type                                                            | Description |
+:------------------+:----------------------------------------------------------------+:------------+
| name              | *string*                                                        | \-          |
+:------------------+:----------------------------------------------------------------+:------------+
| startTime         | *[TickTime](/premiere-pro/uxp/ppro-reference/classes/ticktime)* | \-          |
+:------------------+:----------------------------------------------------------------+:------------+
| endTime           | *[TickTime](/premiere-pro/uxp/ppro-reference/classes/ticktime)* | \-          |
+:------------------+:----------------------------------------------------------------+:------------+
| hasHardBoundaries | *boolean*                                                       | \-          |
+:------------------+:----------------------------------------------------------------+:------------+
| options           | *{ takeVideo?: boolean, takeAudio?: boolean }*                  | \-          |
+-------------------+-----------------------------------------------------------------+-------------+

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### findItemsMatchingMediaPath

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

Since: **25.6**

Returns: Promise<*[ProjectItem\[\]](/premiere-pro/uxp/ppro-reference/classes/projectitem)*>

#### Parameters

+------------------------------------------+
| Table                                    |
+:---------------+:----------+:------------+
| Name           | Type      | Description |
+:---------------+:----------+:------------+
| matchString    | *string*  | \-          |
+:---------------+:----------+:------------+
| ignoreSubclips | *boolean* | \-          |
+----------------+-----------+-------------+

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### getColorLabelIndex

Get color label index of projectItem

Since: **25.6**

Returns: Promise<*number*>

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### getComponentChain

Get the component chain of the Project item for the given media type.

Since: **25.6**

Returns: Promise<*string*>

#### Parameters

+-------------------------------------------------------------------------------------------------------------------------------+
| Table                                                                                                                         |
+:----------+:-------------------------------------------------------------------------------+:---------------------------------+
| Name      | Type                                                                           | Description                      |
+:----------+:-------------------------------------------------------------------------------+:---------------------------------+
| mediaType | *[Constants.MediaType](/premiere-pro/uxp/ppro-reference/constants/#mediatype)* | Media type can be audio or video |
+-----------+--------------------------------------------------------------------------------+----------------------------------+

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### getContentType

Get content type of the Project item

Since: **25.6**

Returns: Promise<*[Constants.ContentType](/premiere-pro/uxp/ppro-reference/constants/#contenttype)*>

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### getEmbeddedLUTID

Get GUID of LUT embedded in media

Since: **25.6**

Returns: Promise<*string*>

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### getFootageInterpretation

Get the footage interpretation object for project item

Since: **25.6**

Returns: Promise<*[FootageInterpretation](/premiere-pro/uxp/ppro-reference/classes/footageinterpretation)*>

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### getInPoint

Get the in point of the Project item

Since: **25.6**

Returns: Promise<*[TickTime](/premiere-pro/uxp/ppro-reference/classes/ticktime)*>

#### Parameters

+--------------------------------------------------------------------------------------------------------------------------------+
| Table                                                                                                                          |
+:----------+:-------------------------------------------------------------------------------+:----------------------------------+
| Name      | Type                                                                           | Description                       |
+:----------+:-------------------------------------------------------------------------------+:----------------------------------+
| mediaType | *[Constants.MediaType](/premiere-pro/uxp/ppro-reference/constants/#mediatype)* | Media type can be audio, video or |
|           |                                                                                | data/caption                      |
+-----------+--------------------------------------------------------------------------------+-----------------------------------+

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### getInputLUTID

Get Guid of Input LUT overridden on media

Since: **25.6**

Returns: Promise<*string*>

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### getMedia

Return media associated with clipProjectItem

Since: **25.6**

Returns: Promise<*[Media](/premiere-pro/uxp/ppro-reference/classes/media)*>

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### getMediaFilePath

Get the media file path of the Project item.

Since: **25.6**

Returns: Promise<*string*>

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### getOriginatingProjectPath

Return originating project path associated with clipProjectItem

Since: **26.2**

Returns: Promise<*string*>

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### getOutPoint

Get the out point of the Project item

Since: **25.6**

Returns: Promise<*[TickTime](/premiere-pro/uxp/ppro-reference/classes/ticktime)*>

#### Parameters

+--------------------------------------------------------------------------------------------------------------------------------+
| Table                                                                                                                          |
+:----------+:-------------------------------------------------------------------------------+:----------------------------------+
| Name      | Type                                                                           | Description                       |
+:----------+:-------------------------------------------------------------------------------+:----------------------------------+
| mediaType | *[Constants.MediaType](/premiere-pro/uxp/ppro-reference/constants/#mediatype)* | Media type can be audio, video or |
|           |                                                                                | data/caption                      |
+-----------+--------------------------------------------------------------------------------+-----------------------------------+

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### getProject

Get the parent Project of this projectItem.

Since: **25.6**

Returns: Promise<*[Project](/premiere-pro/uxp/ppro-reference/classes/project)*>

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### getProxyPath

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

Since: **25.6**

Returns: Promise<*string*>

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### getSequence

Get the sequence of the Project item

Since: **25.6**

Returns: Promise<*[Sequence](/premiere-pro/uxp/ppro-reference/classes/sequence)*>

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### hasProxy

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

Since: **25.6**

Returns: Promise<*boolean*>

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### isMergedClip

Returns true if the clip Project item is a merged clip

Since: **25.6**

Returns: Promise<*boolean*>

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### isMulticamClip

Returns true if the clip Project item is a multicam clip

Since: **25.6**

Returns: Promise<*boolean*>

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### isOffline

Returns true if the media is offline

Since: **25.6**

Returns: Promise<*boolean*>

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### isSequence

Returns true if the project item is a sequence

Since: **25.6**

Returns: Promise<*boolean*>

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### refreshMedia

Updates representation of the media associated with the project item

Since: **25.6**

Returns: Promise<*boolean*>

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

+-------------------------------------------------------------------------------------------------------------------------------+
| Metadata                                                                                                                      |
+----------------+--------------------------------------------------------------------------------------------------------------+
| title          | ClipProjectItem                                                                                              |
+----------------+--------------------------------------------------------------------------------------------------------------+
| description    | Overview of ClipProjectItem                                                                                  |
+----------------+--------------------------------------------------------------------------------------------------------------+
| source         | github                                                                                                       |
+----------------+--------------------------------------------------------------------------------------------------------------+
| pathprefix     | /premiere-pro/uxp                                                                                            |
+----------------+--------------------------------------------------------------------------------------------------------------+
| githubblobpath | https\://github.com/AdobeDocs/uxp-premiere-pro/blob/main/src/pages/ppro-reference/classes/clipprojectitem.md |
+----------------+--------------------------------------------------------------------------------------------------------------+
| template       | documentation                                                                                                |
+----------------+--------------------------------------------------------------------------------------------------------------+
