Skip to main content
Participant
July 14, 2026
Question

UXP API: How to get Clip/ProjectItem Media Dimensions (Width/Height)?

  • July 14, 2026
  • 1 reply
  • 17 views

Hello,

I need to get the source width and height of a selected timeline clip to accurately calculate anchor points.

Here is what I have tried:

  1. Downcasting: Retrieved the ProjectItem base item from the clip and cast it using ppro.ProjectItem.cast(baseItem) to a ClipProjectItem.

  2. Checking child objects: * clipProjectItem.getMedia() only exposes start and durationclipProjectItem.getFootageInterpretation() exposes frame rate and PAR, but no resolution.

  3. Metadata: Parsing ppro.Metadata.getProjectMetadata() streams is failing to capture the properties.

What is the officially supported UXP method to extract the asset pixel dimensions of a source item?

    1 reply

    Community Manager
    July 14, 2026

    Hi,

    Not sure if that is supported. See: https://adobe.ly/4wfcRBa
    What is it you're trying to do, exactly? Let us know.


    Thanks,
    Kevin

    Participant
    July 15, 2026

    I’m trying to update the Anchor Point of a clip. The only way I know how is to use AnchorPointX / ClipWidth

     

    Is there a better way to do this?

    Community Manager
    July 16, 2026

    I’ll try and get the team to respond to this question. Thanks for your patience.

     

    Cheers,
    Kevin