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

Create Master Property with script

Engaged ,
Jun 11, 2018 Jun 11, 2018

Hi

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

Thanks,

Jakob

TOPICS
Scripting
756
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 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);

}



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

}



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

Excellent! Thanks!

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