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

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

Engaged ,
Feb 03, 2024 Feb 03, 2024

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
237
Translate
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.  

Translate
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.  

Translate
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

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).

 

 

 

 

Translate
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

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);

Translate
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
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.

Translate
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