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

Add null to composite from project

Explorer ,
Oct 18, 2021 Oct 18, 2021

I used a script (autosway),
I noticed that he created only one null in the project.
How can I achieve this effect?

TOPICS
Scripting
432
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

Community Expert , Oct 20, 2021 Oct 20, 2021
Translate
Explorer ,
Oct 18, 2021 Oct 18, 2021

Effect of script:

I generated 10 "nulls" in "comp 1" through autosway, and the project shows that nulls have been used 10 times,

I generated 15 "nulls" in "comp 2" through autosway, and null was used 25 times in the project.

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
Community Expert ,
Oct 18, 2021 Oct 18, 2021

Say you create two null layers (let's call them LA and LB). This also creates two project items (let's call them PA and PB).

Now you can set the source of LB to PA and then delete PB from the project.

 

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects
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
Explorer ,
Oct 19, 2021 Oct 19, 2021

How can I set the source of LB to PA?

 

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
Explorer ,
Oct 19, 2021 Oct 19, 2021

I checked the document, but I still can't set

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
Community Expert ,
Oct 20, 2021 Oct 20, 2021
LATEST

Have you tried the replaceSource function?

https://ae-scripting.docsforadobe.dev/layers/avlayer/#avlayer-replacesource

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects
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