• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Function to Restart In and Out point of a project Item?

Engaged ,
Feb 03, 2024 Feb 03, 2024

Copy link to clipboard

Copied

Hello

PPRO UI allows users to right click and select "remove In and Out"

Bed30321077z973_1-1707004036638.png

 

I was wondering if there was any equivalent with code? That would be very useful!

TOPICS
SDK

Views

98

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Feb 03, 2024 Feb 03, 2024

Yes; set the in (or out) point to 

-400000

In PProPanel, you'll see a var named NOT_SET, set to that value.  

Votes

Translate

Translate
Adobe Employee ,
Feb 03, 2024 Feb 03, 2024

Copy link to clipboard

Copied

Yes; set the in (or out) point to 

-400000

In PProPanel, you'll see a var named NOT_SET, set to that value.  

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Feb 03, 2024 Feb 03, 2024

Copy link to clipboard

Copied

Great! Thanks.

I was trying to save the first in and out of the project item before it is processed into a "save var", then getting back when needed, but I am still ensure about ticks, seconds, timebase.. etc.. (cf my other post).

 

 

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Feb 03, 2024 Feb 03, 2024

Copy link to clipboard

Copied

Just to confirm this is to be used a number and not as string rigth?

- Item.setInPoint(-400000, 4);

Intsead of :

- Item.setInPoint("-400000", 4);

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Feb 04, 2024 Feb 04, 2024

Copy link to clipboard

Copied

LATEST

Ok found it:

Bed30321077z973_0-1707046624916.png

This does not work with audio medias, as far as My experiments go.

The code suggests it works only for creating subclips or something.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines