0
Engaged
,
/t5/after-effects-discussions/create-master-property-with-script/td-p/9954146
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
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
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);
}
Community Beginner
,
/t5/after-effects-discussions/create-master-property-with-script/m-p/9954147#M63277
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);
}
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Jakob Wagner 2048
AUTHOR
Engaged
,
LATEST
/t5/after-effects-discussions/create-master-property-with-script/m-p/9954148#M63278
Jun 15, 2018
Jun 15, 2018
Copy link to clipboard
Copied
Excellent! Thanks!
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

