Code: Select all
newMask = LayerGrad.Masks.addProperty("Mask");
newMask.maskMode = MaskMode.NONE;
newMask.maskPath.canSetExpression = true;
newMask.maskPath.expression = "comp(\"" + mainComp.name +"\").layer(\"CE Character Grade Master Controls\").mask(\"Mask 1\").maskPath"
When I link the mask paths manually they work fine, I'd just like to get it all done via the script. Anyway around this issue?