Skip to main content
Inspiring
June 11, 2018
Answered

Create Master Property with script

  • June 11, 2018
  • 1 reply
  • 856 views

Hi

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

Thanks,

Jakob

This topic has been closed for replies.
Correct answer derick1209

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

}



1 reply

derick1209
derick1209Correct answer
Inspiring
June 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);

}



Inspiring
June 15, 2018

Excellent! Thanks!