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

Create Master Property with script

Engaged ,
Jun 11, 2018 Jun 11, 2018

Copy link to clipboard

Copied

Hi

Is it possible to create a master property on a comp using scripts?

Thanks,

Jakob

TOPICS
Scripting

Views

596

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 Beginner , Jun 12, 2018 Jun 12, 2018

do you mean that ?

from Victoria (@FakeGreenDress) | Twitter

function R(P) {

if (P.numKeys > 0) P.addToMotionGraphicsTemplate(C);

for (var d = 1; d <= P.numProperties; d++) {

R(P.property (d));

}}

var C = app.project.activeItem;

var L = C.layers;

for (var i = 1; i <= L.length; i++){

R(L);

}



Votes

Translate

Translate
Community Beginner ,
Jun 12, 2018 Jun 12, 2018

Copy link to clipboard

Copied

do you mean that ?

from Victoria (@FakeGreenDress) | Twitter

function R(P) {

if (P.numKeys > 0) P.addToMotionGraphicsTemplate(C);

for (var d = 1; d <= P.numProperties; d++) {

R(P.property (d));

}}

var C = app.project.activeItem;

var L = C.layers;

for (var i = 1; i <= L.length; i++){

R(L);

}



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 ,
Jun 15, 2018 Jun 15, 2018

Copy link to clipboard

Copied

LATEST

Excellent! Thanks!

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