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

Automation Blocks - Copying Attributes from V1 to V2 Across All Clips

Participant ,
Jun 12, 2024 Jun 12, 2024

Copy link to clipboard

Copied

Hello!

 

The attached script does the following...

IF: The first clip on V1 and the first clip on V2 have a matching sequence start-time.

THEN: Copy/Paste the position and scale attributes from V1 clip to V2 clip.

 

I want to amend this script so EVERY clip on V2 that has a matching sequence start-time as a clip on V1 gets the position/scale attributes copied over from the matching clip.

 

Basically, if the timeline looked like this...

 

TimelineExample.png

I'd want every clip on V2 to have the same position/scale attributes as the clip directly beneath it on V1

 

I also want it to copy the keyframes and keyframe values.

Any guidance on this?

TOPICS
SDK

Views

229

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

Community Expert , Jun 13, 2024 Jun 13, 2024

I just prepared this example script (xml attached), which finds for each clip in V1 the corresponding clip in V2:

Screenshot 2024-06-13 at 20.47.45.png

Automation Blocks for Pr has no blocks to figure out at which times keyframes are located. You can read and write values at times, but if you don't know where the keyframes are, this will be very tricky.

 

 

Votes

Translate

Translate
Community Expert ,
Jun 12, 2024 Jun 12, 2024

Copy link to clipboard

Copied

you can save all property values from the project panel as presets,

including the keyframes associated with them... right click on Motion,

or any effect you would like to save as preset, then -> save preset

the saved preset can be applied to any clips on the timeline either

by selecting the clip and double clicking the preset, or by drag and drop...

to apply the preset to several clips at once, select all clips on the timeline,

drag and drop or double click the preset.

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
Community Expert ,
Jun 13, 2024 Jun 13, 2024

Copy link to clipboard

Copied

LATEST

I just prepared this example script (xml attached), which finds for each clip in V1 the corresponding clip in V2:

Screenshot 2024-06-13 at 20.47.45.png

Automation Blocks for Pr has no blocks to figure out at which times keyframes are located. You can read and write values at times, but if you don't know where the keyframes are, this will be very tricky.

 

 

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects

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